1Gtk2::ToolItemGroup(3)User Contributed Perl DocumentationGtk2::ToolItemGroup(3)
2
3
4

NAME

6       Gtk2::ToolItemGroup - wrapper for GtkToolItemGroup
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::ToolItemGroup
15

INTERFACES

17         Glib::Object::_Unregistered::AtkImplementorIface
18         Gtk2::Buildable
19         Gtk2::ToolShell
20

METHODS

22   widget = Gtk2::ToolItemGroup->new ($label)
23       ·   $label (string)
24
25   boolean = $group->get_collapsed
26   $group->set_collapsed ($collapsed)
27       ·   $collapsed (boolean)
28
29   toolitem = $group->get_drop_item ($x, $y)
30       ·   $x (integer)
31
32       ·   $y (integer)
33
34   ellipsizemode = $group->get_ellipsize
35   $group->set_ellipsize ($ellipsize)
36       ·   $ellipsize (Pango::EllipsizeMode)
37
38   reliefstyle = $group->get_header_relief
39   $group->set_header_relief ($style)
40       ·   $style (Gtk2::ReliefStyle)
41
42   $group->insert ($item, $position)
43       ·   $item (Gtk2::ToolItem)
44
45       ·   $position (integer)
46
47   integer = $group->get_item_position ($item)
48       ·   $item (Gtk2::ToolItem)
49
50   $group->set_item_position ($item, $position)
51       ·   $item (Gtk2::ToolItem)
52
53       ·   $position (integer)
54
55   string = $group->get_label
56   $group->set_label ($label)
57       ·   $label (string)
58
59   widget = $group->get_label_widget
60   $group->set_label_widget ($label_widget)
61       ·   $label_widget (Gtk2::Widget)
62
63   integer = $group->get_n_items
64   toolitem = $group->get_nth_item ($index)
65       ·   $index (integer)
66

PROPERTIES

68       'collapsed' (boolean : default false : readable / writable / private)
69           Whether the group has been collapsed and items are hidden
70
71       'ellipsize' (Pango::EllipsizeMode : default "none" : readable /
72       writable / private)
73           Ellipsize for item group headers
74
75       'header-relief' (Gtk2::ReliefStyle : default "normal" : readable /
76       writable / private)
77           Relief of the group header button
78
79       'label' (string : default "" : readable / writable / private)
80           The human-readable title of this item group
81
82       'label-widget' (Gtk2::Widget : default undef : readable / writable /
83       private)
84           A widget to display in place of the usual label
85

CHILD PROPERTIES

87       'expand' (boolean : default false : readable / writable / private)
88           Whether the item should receive extra space when the group grows
89
90       'fill' (boolean : default true : readable / writable / private)
91           Whether the item should fill the available space
92
93       'homogeneous' (boolean : default true : readable / writable / private)
94           Whether the item should be the same size as other homogeneous items
95
96       'new-row' (boolean : default false : readable / writable / private)
97           Whether the item should start a new row
98
99       'position' (integer : default 0 : readable / writable / private)
100           Position of the item within this group
101

STYLE PROPERTIES

103       'expander-size' (integer : default 16 : readable / private)
104           Size of the expander arrow
105
106       'header-spacing' (integer : default 2 : readable / private)
107           Spacing between expander arrow and caption
108

ENUMS AND FLAGS

110   enum Gtk2::ReliefStyle
111       ·   'normal' / 'GTK_RELIEF_NORMAL'
112
113       ·   'half' / 'GTK_RELIEF_HALF'
114
115       ·   'none' / 'GTK_RELIEF_NONE'
116
117   enum Pango::EllipsizeMode
118       ·   'none' / 'PANGO_ELLIPSIZE_NONE'
119
120       ·   'start' / 'PANGO_ELLIPSIZE_START'
121
122       ·   'middle' / 'PANGO_ELLIPSIZE_MIDDLE'
123
124       ·   'end' / 'PANGO_ELLIPSIZE_END'
125

SEE ALSO

127       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
128       Gtk2::Container
129
131       Copyright (C) 2003-2011 by the gtk2-perl team.
132
133       This software is licensed under the LGPL.  See Gtk2 for a full notice.
134
135
136
137perl v5.28.1                      2019-02-02            Gtk2::ToolItemGroup(3)
Impressum