1Gnome2::IconList(3)   User Contributed Perl Documentation  Gnome2::IconList(3)
2
3
4

NAME

6       Gnome2::IconList - wrapper for GnomeIconList
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Layout
15                                  +----Gnome2::Canvas
16                                       +----Gnome2::IconList
17

INTERFACES

19         Glib::Object::_Unregistered::AtkImplementorIface
20         Gtk2::Buildable
21

METHODS

23   widget = Gnome2::IconList->new ($icon_width, $adj, $flags)
24       ·   $icon_width (integer)
25
26       ·   $adj (Gtk2::Adjustment)
27
28       ·   $flags (Gnome2::IconListFlags)
29
30   integer = $gil->append ($icon_filename, $text)
31       ·   $icon_filename (string)
32
33       ·   $text (string)
34
35   integer = $gil->append_pixbuf ($im, $icon_filename, $text)
36       ·   $im (Gtk2::Gdk::Pixbuf)
37
38       ·   $icon_filename (string)
39
40       ·   $text (string)
41
42   $gil->clear
43   $gil->set_col_spacing ($pixels)
44       ·   $pixels (integer)
45
46   integer = $gil->find_icon_from_filename ($filename)
47       ·   $filename (string)
48
49   $gil->focus_icon ($idx)
50       ·   $idx (integer)
51
52   $gil->freeze
53   $gil->set_hadjustment ($hadj)
54       ·   $hadj (Gtk2::Adjustment)
55
56   integer = $gil->get_icon_at ($x, $y)
57       ·   $x (integer)
58
59       ·   $y (integer)
60
61   $gil->set_icon_border ($pixels)
62       ·   $pixels (integer)
63
64   string = $gil->get_icon_filename ($idx)
65       ·   $idx (integer)
66
67   visibility = $gil->icon_is_visible ($pos)
68       ·   $pos (integer)
69
70   object = $gil->get_icon_pixbuf_item ($idx)
71       ·   $idx (integer)
72
73   icontextitem = $gil->get_icon_text_item ($idx)
74       ·   $idx (integer)
75
76   $gil->set_icon_width ($w)
77       ·   $w (integer)
78
79   $gil->insert ($pos, $icon_filename, $text)
80       ·   $pos (integer)
81
82       ·   $icon_filename (string)
83
84       ·   $text (string)
85
86   $gil->insert_pixbuf ($pos, $im, $icon_filename, $text)
87       ·   $pos (integer)
88
89       ·   $im (Gtk2::Gdk::Pixbuf)
90
91       ·   $icon_filename (string)
92
93       ·   $text (string)
94
95   integer = $gil->get_items_per_line
96   $gil->moveto ($pos, $yalign)
97       ·   $pos (integer)
98
99       ·   $yalign (double)
100
101   integer = $gil->get_num_icons
102   $gil->remove ($pos)
103       ·   $pos (integer)
104
105   $gil->set_row_spacing ($pixels)
106       ·   $pixels (integer)
107
108   $gil->select_all
109       Since: libgnomeui 2.8
110
111   $gil->select_icon ($pos)
112       ·   $pos (integer)
113
114   list = $gil->get_selection
115       Returns a list of integers.
116
117   selectionmode = $gil->get_selection_mode
118   $gil->set_selection_mode ($mode)
119       ·   $mode (Gtk2::SelectionMode)
120
121   $gil->set_separators ($sep)
122       ·   $sep (string)
123
124   $gil->set_text_spacing ($pixels)
125       ·   $pixels (integer)
126
127   $gil->thaw
128   integer = $gil->unselect_all
129   $gil->unselect_icon ($pos)
130       ·   $pos (integer)
131
132   $gil->set_vadjustment ($vadj)
133       ·   $vadj (Gtk2::Adjustment)
134

SIGNALS

136       focus-icon (Gnome2::IconList, integer)
137       move-cursor (Gnome2::IconList, Gtk2::DirectionType, boolean)
138       select-icon (Gnome2::IconList, integer, Gtk2::Gdk::Event)
139       boolean = text-changed (Gnome2::IconList, integer, string)
140       toggle-cursor-selection (Gnome2::IconList)
141       unselect-icon (Gnome2::IconList, integer, Gtk2::Gdk::Event)
142

ENUMS AND FLAGS

144   enum Gtk2::DirectionType
145       ·   'tab-forward' / 'GTK_DIR_TAB_FORWARD'
146
147       ·   'tab-backward' / 'GTK_DIR_TAB_BACKWARD'
148
149       ·   'up' / 'GTK_DIR_UP'
150
151       ·   'down' / 'GTK_DIR_DOWN'
152
153       ·   'left' / 'GTK_DIR_LEFT'
154
155       ·   'right' / 'GTK_DIR_RIGHT'
156
157   enum Gtk2::SelectionMode
158       ·   'none' / 'GTK_SELECTION_NONE'
159
160       ·   'single' / 'GTK_SELECTION_SINGLE'
161
162       ·   'browse' / 'GTK_SELECTION_BROWSE'
163
164       ·   'multiple' / 'GTK_SELECTION_MULTIPLE'
165
166       ·   'extended' / 'GTK_SELECTION_EXTENDED'
167
168   enum Gtk2::Visibility
169       ·   'none' / 'GTK_VISIBILITY_NONE'
170
171       ·   'partial' / 'GTK_VISIBILITY_PARTIAL'
172
173       ·   'full' / 'GTK_VISIBILITY_FULL'
174

SEE ALSO

176       Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
177       Gtk2::Widget, Gtk2::Container, Gtk2::Layout, Gnome2::Canvas
178
180       Copyright (C) 2003-2004 by the gtk2-perl team.
181
182       This software is licensed under the LGPL.  See Gnome2 for a full
183       notice.
184
185
186
187perl v5.28.1                      2019-02-02               Gnome2::IconList(3)
Impressum