1Gtk2::List(3) User Contributed Perl Documentation Gtk2::List(3)
2
3
4
6 Gtk2::List
7
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
17 Glib::Object
18 +----Glib::InitiallyUnowned
19 +----Gtk2::Object
20 +----Gtk2::Widget
21 +----Gtk2::Container
22 +----Gtk2::List
23
25 Glib::Object::_Unregistered::AtkImplementorIface
26 Gtk2::Buildable
27
29 widget = Gtk2::List->new
30 $list->append_items (...)
31 · ... (list) of Gtk2::ListItem's to be appended
32
33 integer = $list->child_position ($child)
34 · $child (Gtk2::Widget)
35
36 $list->clear_items ($start, $end)
37 · $start (integer)
38
39 · $end (integer)
40
41 $list->end_drag_selection
42 $list->end_selection
43 $list->extend_selection ($scroll_type, $position, $auto_start_selection)
44 · $scroll_type (Gtk2::ScrollType)
45
46 · $position (double)
47
48 · $auto_start_selection (boolean)
49
50 $list->insert_items ($position, ...)
51 · $position (integer)
52
53 · ... (list) of Gtk2::ListItem's to be inserted
54
55 $list->prepend_items (..., $list_item)
56 · ... (list) of Gtk2::ListItem's to be prepended
57
58 · $list_item (Gtk2::ListItem)
59
60 $list->remove_items (..., $list_item)
61 · ... (list) of Gtk2::ListItem's to be removed
62
63 · $list_item (Gtk2::ListItem)
64
65 $list->scroll_horizontal ($scroll_type, $position)
66 · $scroll_type (Gtk2::ScrollType)
67
68 · $position (double)
69
70 $list->scroll_vertical ($scroll_type, $position)
71 · $scroll_type (Gtk2::ScrollType)
72
73 · $position (double)
74
75 $list->select_all
76 $list->select_child ($child)
77 · $child (Gtk2::Widget)
78
79 $list->select_item ($item)
80 · $item (integer)
81
82 $list->set_selection_mode ($mode)
83 · $mode (Gtk2::SelectionMode)
84
85 $list->start_selection
86 $list->toggle_add_mode
87 $list->toggle_focus_row
88 $list->toggle_row ($item)
89 · $item (Gtk2::Widget)
90
91 $list->undo_selection
92 $list->unselect_all
93 $list->unselect_child ($child)
94 · $child (Gtk2::Widget)
95
96 $list->unselect_item ($item)
97 · $item (integer)
98
100 'selection-mode' (Gtk2::SelectionMode : readable / writable / private)
101
103 selection-changed (Gtk2::List)
104 select-child (Gtk2::List, Gtk2::Widget)
105 unselect-child (Gtk2::List, Gtk2::Widget)
106
108 enum Gtk2::ScrollType
109 · 'none' / 'GTK_SCROLL_NONE'
110
111 · 'jump' / 'GTK_SCROLL_JUMP'
112
113 · 'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'
114
115 · 'step-forward' / 'GTK_SCROLL_STEP_FORWARD'
116
117 · 'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'
118
119 · 'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'
120
121 · 'step-up' / 'GTK_SCROLL_STEP_UP'
122
123 · 'step-down' / 'GTK_SCROLL_STEP_DOWN'
124
125 · 'page-up' / 'GTK_SCROLL_PAGE_UP'
126
127 · 'page-down' / 'GTK_SCROLL_PAGE_DOWN'
128
129 · 'step-left' / 'GTK_SCROLL_STEP_LEFT'
130
131 · 'step-right' / 'GTK_SCROLL_STEP_RIGHT'
132
133 · 'page-left' / 'GTK_SCROLL_PAGE_LEFT'
134
135 · 'page-right' / 'GTK_SCROLL_PAGE_RIGHT'
136
137 · 'start' / 'GTK_SCROLL_START'
138
139 · 'end' / 'GTK_SCROLL_END'
140
141 enum Gtk2::SelectionMode
142 · 'none' / 'GTK_SELECTION_NONE'
143
144 · 'single' / 'GTK_SELECTION_SINGLE'
145
146 · 'browse' / 'GTK_SELECTION_BROWSE'
147
148 · 'multiple' / 'GTK_SELECTION_MULTIPLE'
149
150 · 'extended' / 'GTK_SELECTION_EXTENDED'
151
153 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
154 Gtk2::Container
155
157 Copyright (C) 2003-2008 by the gtk2-perl team.
158
159 This software is licensed under the LGPL. See Gtk2 for a full notice.
160
161
162
163perl v5.12.0 2010-05-02 Gtk2::List(3)