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

NAME

6       Gtk2::ListItem
7

DESCRIPTION

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

HIERARCHY

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

INTERFACES

28         Glib::Object::_Unregistered::AtkImplementorIface
29         Gtk2::Buildable
30

METHODS

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

SIGNALS

41       select-all (Gtk2::ListItem)
42       unselect-all (Gtk2::ListItem)
43       toggle-focus-row (Gtk2::ListItem)
44       undo-selection (Gtk2::ListItem)
45       start-selection (Gtk2::ListItem)
46       end-selection (Gtk2::ListItem)
47       toggle-add-mode (Gtk2::ListItem)
48       extend-selection (Gtk2::ListItem, Gtk2::ScrollType, Glib::Float,
49       boolean)
50       scroll-vertical (Gtk2::ListItem, Gtk2::ScrollType, Glib::Float)
51       scroll-horizontal (Gtk2::ListItem, Gtk2::ScrollType, Glib::Float)
52

ENUMS AND FLAGS

54   enum Gtk2::ScrollType
55       ·   'none' / 'GTK_SCROLL_NONE'
56
57       ·   'jump' / 'GTK_SCROLL_JUMP'
58
59       ·   'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'
60
61       ·   'step-forward' / 'GTK_SCROLL_STEP_FORWARD'
62
63       ·   'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'
64
65       ·   'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'
66
67       ·   'step-up' / 'GTK_SCROLL_STEP_UP'
68
69       ·   'step-down' / 'GTK_SCROLL_STEP_DOWN'
70
71       ·   'page-up' / 'GTK_SCROLL_PAGE_UP'
72
73       ·   'page-down' / 'GTK_SCROLL_PAGE_DOWN'
74
75       ·   'step-left' / 'GTK_SCROLL_STEP_LEFT'
76
77       ·   'step-right' / 'GTK_SCROLL_STEP_RIGHT'
78
79       ·   'page-left' / 'GTK_SCROLL_PAGE_LEFT'
80
81       ·   'page-right' / 'GTK_SCROLL_PAGE_RIGHT'
82
83       ·   'start' / 'GTK_SCROLL_START'
84
85       ·   'end' / 'GTK_SCROLL_END'
86

SEE ALSO

88       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
89       Gtk2::Container, Gtk2::Bin, Gtk2::Item
90
92       Copyright (C) 2003-2008 by the gtk2-perl team.
93
94       This software is licensed under the LGPL.  See Gtk2 for a full notice.
95
96
97
98perl v5.12.0                      2010-05-02                 Gtk2::ListItem(3)
Impressum