1Gtk2::ListItem(3) User Contributed Perl Documentation Gtk2::ListItem(3)
2
3
4
6 Gtk2::ListItem - wrapper for GtkListItem
7
9 Gtk2::ListItem is the widget used for each item in a Gtk2::List.
10 Gtk2::List and Gtk2::ListItem are deprecated; use Gtk2::TreeView and a
11 Gtk2::ListStore instead.
12
13 Gtk2::ListItem is included in Gtk2-Perl only because Gtk2::Combo
14 contains a Gtk2::List, and Gtk2::Combo's replacement, Gtk2::ComboBox,
15 didn't appear in gtk+ until 2.4.0.
16
18 Glib::Object
19 +----Glib::InitiallyUnowned
20 +----Gtk2::Object
21 +----Gtk2::Widget
22 +----Gtk2::Container
23 +----Gtk2::Bin
24 +----Gtk2::Item
25 +----Gtk2::ListItem
26
28 Glib::Object::_Unregistered::AtkImplementorIface
29 Gtk2::Buildable
30
32 widget = Gtk2::ListItem->new ($label=undef)
33 · $label (string)
34
35 widget = Gtk2::ListItem->new_with_label ($label=undef)
36 · $label (string)
37
38 $list_item->deselect
39 $list_item->select
41 end-selection (Gtk2::ListItem)
42 extend-selection (Gtk2::ListItem, Gtk2::ScrollType, float, boolean)
43 scroll-horizontal (Gtk2::ListItem, Gtk2::ScrollType, float)
44 scroll-vertical (Gtk2::ListItem, Gtk2::ScrollType, float)
45 select-all (Gtk2::ListItem)
46 start-selection (Gtk2::ListItem)
47 toggle-add-mode (Gtk2::ListItem)
48 toggle-focus-row (Gtk2::ListItem)
49 undo-selection (Gtk2::ListItem)
50 unselect-all (Gtk2::ListItem)
51
53 enum Gtk2::ScrollType
54 · 'none' / 'GTK_SCROLL_NONE'
55
56 · 'jump' / 'GTK_SCROLL_JUMP'
57
58 · 'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'
59
60 · 'step-forward' / 'GTK_SCROLL_STEP_FORWARD'
61
62 · 'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'
63
64 · 'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'
65
66 · 'step-up' / 'GTK_SCROLL_STEP_UP'
67
68 · 'step-down' / 'GTK_SCROLL_STEP_DOWN'
69
70 · 'page-up' / 'GTK_SCROLL_PAGE_UP'
71
72 · 'page-down' / 'GTK_SCROLL_PAGE_DOWN'
73
74 · 'step-left' / 'GTK_SCROLL_STEP_LEFT'
75
76 · 'step-right' / 'GTK_SCROLL_STEP_RIGHT'
77
78 · 'page-left' / 'GTK_SCROLL_PAGE_LEFT'
79
80 · 'page-right' / 'GTK_SCROLL_PAGE_RIGHT'
81
82 · 'start' / 'GTK_SCROLL_START'
83
84 · 'end' / 'GTK_SCROLL_END'
85
87 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
88 Gtk2::Container, Gtk2::Bin, Gtk2::Item
89
91 Copyright (C) 2003-2011 by the gtk2-perl team.
92
93 This software is licensed under the LGPL. See Gtk2 for a full notice.
94
95
96
97perl v5.28.0 2018-07-18 Gtk2::ListItem(3)