1Gtk2::List(3)         User Contributed Perl Documentation        Gtk2::List(3)
2
3
4

NAME

6       Gtk2::List
7

DESCRIPTION

9       Gtk2::List is deprecated; use Gtk2::TreeView and a Gtk2::ListStore
10       instead.
11
12       Gtk2::List is included in Gtk2-Perl only because Gtk2::Combo still
13       makes use of it, and Gtk2::Combo's replacement, Gtk2::ComboBox, didn't
14       appear in gtk+ until 2.4.0.
15

HIERARCHY

17         Glib::Object
18         +----Glib::InitiallyUnowned
19              +----Gtk2::Object
20                   +----Gtk2::Widget
21                        +----Gtk2::Container
22                             +----Gtk2::List
23

INTERFACES

25         Glib::Object::_Unregistered::AtkImplementorIface
26

METHODS

28       widget = Gtk2::List->new
29
30       $list->append_items (...)
31
32           * ... (list) of Gtk2::ListItem's to be appended
33
34       integer = $list->child_position ($child)
35
36           * $child (Gtk2::Widget)
37
38       $list->clear_items ($start, $end)
39
40           * $start (integer)
41           * $end (integer)
42
43       $list->end_drag_selection
44
45       $list->end_selection
46
47       $list->extend_selection ($scroll_type, $position, $auto_start_selecā€
48       tion)
49
50           * $scroll_type (Gtk2::ScrollType)
51           * $position (double)
52           * $auto_start_selection (boolean)
53
54       $list->insert_items ($position, ...)
55
56           * $position (integer)
57           * ... (list) of Gtk2::ListItem's to be inserted
58
59       $list->prepend_items (..., $list_item)
60
61           * ... (list) of Gtk2::ListItem's to be prepended
62           * $list_item (Gtk2::ListItem)
63
64       $list->remove_items (..., $list_item)
65
66           * ... (list) of Gtk2::ListItem's to be removed
67           * $list_item (Gtk2::ListItem)
68
69       $list->scroll_horizontal ($scroll_type, $position)
70
71           * $scroll_type (Gtk2::ScrollType)
72           * $position (double)
73
74       $list->scroll_vertical ($scroll_type, $position)
75
76           * $scroll_type (Gtk2::ScrollType)
77           * $position (double)
78
79       $list->select_all
80
81       $list->select_child ($child)
82
83           * $child (Gtk2::Widget)
84
85       $list->select_item ($item)
86
87           * $item (integer)
88
89       $list->set_selection_mode ($mode)
90
91           * $mode (Gtk2::SelectionMode)
92
93       $list->start_selection
94
95       $list->toggle_add_mode
96
97       $list->toggle_focus_row
98
99       $list->toggle_row ($item)
100
101           * $item (Gtk2::Widget)
102
103       $list->undo_selection
104
105       $list->unselect_all
106
107       $list->unselect_child ($child)
108
109           * $child (Gtk2::Widget)
110
111       $list->unselect_item ($item)
112
113           * $item (integer)
114

PROPERTIES

116       'selection-mode' (Gtk2::SelectionMode : readable / writable / private)
117

SIGNALS

119       selection-changed (Gtk2::List)
120       select-child (Gtk2::List, Gtk2::Widget)
121       unselect-child (Gtk2::List, Gtk2::Widget)
122

ENUMS AND FLAGS

124       enum Gtk2::ScrollType
125
126       * 'none' / 'GTK_SCROLL_NONE'
127       * 'jump' / 'GTK_SCROLL_JUMP'
128       * 'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'
129       * 'step-forward' / 'GTK_SCROLL_STEP_FORWARD'
130       * 'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'
131       * 'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'
132       * 'step-up' / 'GTK_SCROLL_STEP_UP'
133       * 'step-down' / 'GTK_SCROLL_STEP_DOWN'
134       * 'page-up' / 'GTK_SCROLL_PAGE_UP'
135       * 'page-down' / 'GTK_SCROLL_PAGE_DOWN'
136       * 'step-left' / 'GTK_SCROLL_STEP_LEFT'
137       * 'step-right' / 'GTK_SCROLL_STEP_RIGHT'
138       * 'page-left' / 'GTK_SCROLL_PAGE_LEFT'
139       * 'page-right' / 'GTK_SCROLL_PAGE_RIGHT'
140       * 'start' / 'GTK_SCROLL_START'
141       * 'end' / 'GTK_SCROLL_END'
142
143       enum Gtk2::SelectionMode
144
145       * 'none' / 'GTK_SELECTION_NONE'
146       * 'single' / 'GTK_SELECTION_SINGLE'
147       * 'browse' / 'GTK_SELECTION_BROWSE'
148       * 'multiple' / 'GTK_SELECTION_MULTIPLE'
149       * 'extended' / 'GTK_SELECTION_EXTENDED'
150

SEE ALSO

152       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
153       Gtk2::Container
154
156       Copyright (C) 2003-2007 by the gtk2-perl team.
157
158       This software is licensed under the LGPL.  See Gtk2 for a full notice.
159
160
161
162perl v5.8.8                       2007-03-18                     Gtk2::List(3)
Impressum