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 con‐
14       tains 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

METHODS

31       widget = Gtk2::ListItem->new ($label=undef)
32
33           * $label (string)
34
35       widget = Gtk2::ListItem->new_with_label ($label=undef)
36
37           * $label (string)
38
39       $list_item->deselect
40
41       $list_item->select
42

SIGNALS

44       select-all (Gtk2::ListItem)
45       unselect-all (Gtk2::ListItem)
46       toggle-focus-row (Gtk2::ListItem)
47       undo-selection (Gtk2::ListItem)
48       start-selection (Gtk2::ListItem)
49       end-selection (Gtk2::ListItem)
50       toggle-add-mode (Gtk2::ListItem)
51       extend-selection (Gtk2::ListItem, Gtk2::ScrollType, Glib::Float, bool‐
52       ean)
53       scroll-vertical (Gtk2::ListItem, Gtk2::ScrollType, Glib::Float)
54       scroll-horizontal (Gtk2::ListItem, Gtk2::ScrollType, Glib::Float)
55

ENUMS AND FLAGS

57       enum Gtk2::ScrollType
58
59       * 'none' / 'GTK_SCROLL_NONE'
60       * 'jump' / 'GTK_SCROLL_JUMP'
61       * 'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'
62       * 'step-forward' / 'GTK_SCROLL_STEP_FORWARD'
63       * 'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'
64       * 'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'
65       * 'step-up' / 'GTK_SCROLL_STEP_UP'
66       * 'step-down' / 'GTK_SCROLL_STEP_DOWN'
67       * 'page-up' / 'GTK_SCROLL_PAGE_UP'
68       * 'page-down' / 'GTK_SCROLL_PAGE_DOWN'
69       * 'step-left' / 'GTK_SCROLL_STEP_LEFT'
70       * 'step-right' / 'GTK_SCROLL_STEP_RIGHT'
71       * 'page-left' / 'GTK_SCROLL_PAGE_LEFT'
72       * 'page-right' / 'GTK_SCROLL_PAGE_RIGHT'
73       * 'start' / 'GTK_SCROLL_START'
74       * 'end' / 'GTK_SCROLL_END'
75

SEE ALSO

77       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
78       Gtk2::Container, Gtk2::Bin, Gtk2::Item
79
81       Copyright (C) 2003-2007 by the gtk2-perl team.
82
83       This software is licensed under the LGPL.  See Gtk2 for a full notice.
84
85
86
87perl v5.8.8                       2007-03-18                 Gtk2::ListItem(3)
Impressum