---
name: "Gnome2::IconList"
section: "3pm"
platform: "linux"
package: "libgnome2-perl"
version: "1.046-3+b1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Gnome2::IconList"
---

# Gnome2::IconList(3pm)

wrapper for GnomeIconList

## NAME

Gnome2::IconList - wrapper for GnomeIconList

## HIERARCHY

```
  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Layout
                           +----Gnome2::Canvas
                                +----Gnome2::IconList
```

## INTERFACES

```
  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable
```

## METHODS

### widget = Gnome2::IconList-\>new ($icon\_width, $adj, $flags)

- •

  `$icon_width` (integer)

- •

  `$adj` (Gtk2::Adjustment)

- •

  `$flags` (Gnome2::IconListFlags)

### integer = $gil-\>append ($icon\_filename, $text)

- •

  `$icon_filename` (string)

- •

  `$text` (string)

### integer = $gil-\>append\_pixbuf ($im, $icon\_filename, $text)

- •

  `$im` (Gtk2::Gdk::Pixbuf)

- •

  `$icon_filename` (string)

- •

  `$text` (string)

### $gil-\>clear

### $gil-\>set\_col\_spacing ($pixels)

- •

  `$pixels` (integer)

### integer = $gil-\>find\_icon\_from\_filename ($filename)

- •

  `$filename` (string)

### $gil-\>focus\_icon ($idx)

- •

  `$idx` (integer)

### $gil-\>freeze

### $gil-\>set\_hadjustment ($hadj)

- •

  `$hadj` (Gtk2::Adjustment)

### integer = $gil-\>get\_icon\_at ($x, $y)

- •

  `$x` (integer)

- •

  `$y` (integer)

### $gil-\>set\_icon\_border ($pixels)

- •

  `$pixels` (integer)

### string = $gil-\>get\_icon\_filename ($idx)

- •

  `$idx` (integer)

### visibility = $gil-\>icon\_is\_visible ($pos)

- •

  `$pos` (integer)

### object = $gil-\>get\_icon\_pixbuf\_item ($idx)

- •

  `$idx` (integer)

### icontextitem = $gil-\>get\_icon\_text\_item ($idx)

- •

  `$idx` (integer)

### $gil-\>set\_icon\_width ($w)

- •

  `$w` (integer)

### $gil-\>insert ($pos, $icon\_filename, $text)

- •

  `$pos` (integer)

- •

  `$icon_filename` (string)

- •

  `$text` (string)

### $gil-\>insert\_pixbuf ($pos, $im, $icon\_filename, $text)

- •

  `$pos` (integer)

- •

  `$im` (Gtk2::Gdk::Pixbuf)

- •

  `$icon_filename` (string)

- •

  `$text` (string)

### integer = $gil-\>get\_items\_per\_line

### $gil-\>moveto ($pos, $yalign)

- •

  `$pos` (integer)

- •

  `$yalign` (double)

### integer = $gil-\>get\_num\_icons

### $gil-\>remove ($pos)

- •

  `$pos` (integer)

### $gil-\>set\_row\_spacing ($pixels)

- •

  `$pixels` (integer)

### $gil-\>select\_all

Since: libgnomeui 2.8

### $gil-\>select\_icon ($pos)

- •

  `$pos` (integer)

### list = $gil-\>get\_selection

Returns a list of integers.

### selectionmode = $gil-\>get\_selection\_mode

### $gil-\>set\_selection\_mode ($mode)

- •

  `$mode` (Gtk2::SelectionMode)

### $gil-\>set\_separators ($sep)

- •

  `$sep` (string)

### $gil-\>set\_text\_spacing ($pixels)

- •

  `$pixels` (integer)

### $gil-\>thaw

### integer = $gil-\>unselect\_all

### $gil-\>unselect\_icon ($pos)

- •

  `$pos` (integer)

### $gil-\>set\_vadjustment ($vadj)

- •

  `$vadj` (Gtk2::Adjustment)

## SIGNALS

- **focus-icon** (Gnome2::IconList, integer)

  - **move-cursor** (Gnome2::IconList, Gtk2::DirectionType, boolean)

  - **select-icon** (Gnome2::IconList, integer, Gtk2::Gdk::Event)

  - boolean = **text-changed** (Gnome2::IconList, integer, string)

  - **toggle-cursor-selection** (Gnome2::IconList)

  - **unselect-icon** (Gnome2::IconList, integer, Gtk2::Gdk::Event)

  ## ENUMS AND FLAGS

### enum Gtk2::DirectionType

- •

  'tab-forward' / 'GTK\_DIR\_TAB\_FORWARD'

- •

  'tab-backward' / 'GTK\_DIR\_TAB\_BACKWARD'

- •

  'up' / 'GTK\_DIR\_UP'

- •

  'down' / 'GTK\_DIR\_DOWN'

- •

  'left' / 'GTK\_DIR\_LEFT'

- •

  'right' / 'GTK\_DIR\_RIGHT'

### enum Gtk2::SelectionMode

- •

  'none' / 'GTK\_SELECTION\_NONE'

- •

  'single' / 'GTK\_SELECTION\_SINGLE'

- •

  'browse' / 'GTK\_SELECTION\_BROWSE'

- •

  'multiple' / 'GTK\_SELECTION\_MULTIPLE'

- •

  'extended' / 'GTK\_SELECTION\_EXTENDED'

### enum Gtk2::Visibility

- •

  'none' / 'GTK\_VISIBILITY\_NONE'

- •

  'partial' / 'GTK\_VISIBILITY\_PARTIAL'

- •

  'full' / 'GTK\_VISIBILITY\_FULL'

## SEE ALSO

Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Layout, Gnome2::Canvas

## COPYRIGHT

Copyright (C) 2003-2004 by the gtk2-perl team.

This software is licensed under the LGPL.  See Gnome2 for a full notice.
