1Gtk2::ToolItemGroup(3)User Contributed Perl DocumentationGtk2::ToolItemGroup(3)
2
3
4
6 Gtk2::ToolItemGroup - wrapper for GtkToolItemGroup
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Container
14 +----Gtk2::ToolItemGroup
15
17 Glib::Object::_Unregistered::AtkImplementorIface
18 Gtk2::Buildable
19 Gtk2::ToolShell
20
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
68 'collapsed' (boolean : default false : readable / writable / private /
69 static-nick / static-blurb)
70 Whether the group has been collapsed and items are hidden
71
72 'ellipsize' (Pango::EllipsizeMode : default "none" : readable /
73 writable / private / static-nick / static-blurb)
74 Ellipsize for item group headers
75
76 'header-relief' (Gtk2::ReliefStyle : default "normal" : readable /
77 writable / private / static-nick / static-blurb)
78 Relief of the group header button
79
80 'label' (string : default "" : readable / writable / private / static-
81 nick / static-blurb)
82 The human-readable title of this item group
83
84 'label-widget' (Gtk2::Widget : default undef : readable / writable /
85 private / static-nick / static-blurb)
86 A widget to display in place of the usual label
87
89 'expand' (boolean : default false : readable / writable / private /
90 static-nick / static-blurb)
91 Whether the item should receive extra space when the group grows
92
93 'fill' (boolean : default true : readable / writable / private /
94 static-nick / static-blurb)
95 Whether the item should fill the available space
96
97 'homogeneous' (boolean : default true : readable / writable / private /
98 static-nick / static-blurb)
99 Whether the item should be the same size as other homogeneous items
100
101 'new-row' (boolean : default false : readable / writable / private /
102 static-nick / static-blurb)
103 Whether the item should start a new row
104
105 'position' (integer : default 0 : readable / writable / private /
106 static-nick / static-blurb)
107 Position of the item within this group
108
110 'expander-size' (integer : default 16 : readable / private / static-
111 nick / static-blurb)
112 Size of the expander arrow
113
114 'header-spacing' (integer : default 2 : readable / private / static-
115 nick / static-blurb)
116 Spacing between expander arrow and caption
117
119 enum Gtk2::ReliefStyle
120 • 'normal' / 'GTK_RELIEF_NORMAL'
121
122 • 'half' / 'GTK_RELIEF_HALF'
123
124 • 'none' / 'GTK_RELIEF_NONE'
125
126 enum Pango::EllipsizeMode
127 • 'none' / 'PANGO_ELLIPSIZE_NONE'
128
129 • 'start' / 'PANGO_ELLIPSIZE_START'
130
131 • 'middle' / 'PANGO_ELLIPSIZE_MIDDLE'
132
133 • 'end' / 'PANGO_ELLIPSIZE_END'
134
136 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
137 Gtk2::Container
138
140 Copyright (C) 2003-2011 by the gtk2-perl team.
141
142 This software is licensed under the LGPL. See Gtk2 for a full notice.
143
144
145
146perl v5.38.0 2023-07-20 Gtk2::ToolItemGroup(3)