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

NAME

6       Gtk2::ButtonBox - wrapper for GtkButtonBox
7

HIERARCHY

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

INTERFACES

18         Glib::Object::_Unregistered::AtkImplementorIface
19         Gtk2::Buildable
20         Gtk2::Orientable
21

METHODS

23   boolean = $widget->get_child_secondary ($child)
24       ·   $child (Gtk2::Widget)
25
26       Since: gtk+ 2.4
27
28   $widget->set_child_secondary ($child, $is_secondary)
29       ·   $child (Gtk2::Widget)
30
31       ·   $is_secondary (boolean)
32
33   buttonboxstyle = $widget->get_layout
34   $widget->set_layout ($layout_style)
35       ·   $layout_style (Gtk2::ButtonBoxStyle)
36

PROPERTIES

38       'layout-style' (Gtk2::ButtonBoxStyle : default "default-style" :
39       readable / writable / private / static-nick / static-blurb)
40           How to lay out the buttons in the box. Possible values are:
41           default, spread, edge, start and end
42

CHILD PROPERTIES

44       'secondary' (boolean : default false : readable / writable / private /
45       static-nick / static-blurb)
46           If TRUE, the child appears in a secondary group of children,
47           suitable for, e.g., help buttons
48

STYLE PROPERTIES

50       'child-internal-pad-x' (integer : default 4 : readable / private /
51       static-nick / static-blurb)
52           Amount to increase child's size on either side
53
54       'child-internal-pad-y' (integer : default 0 : readable / private /
55       static-nick / static-blurb)
56           Amount to increase child's size on the top and bottom
57
58       'child-min-height' (integer : default 27 : readable / private / static-
59       nick / static-blurb)
60           Minimum height of buttons inside the box
61
62       'child-min-width' (integer : default 85 : readable / private / static-
63       nick / static-blurb)
64           Minimum width of buttons inside the box
65

ENUMS AND FLAGS

67   enum Gtk2::ButtonBoxStyle
68       ·   'default-style' / 'GTK_BUTTONBOX_DEFAULT_STYLE'
69
70       ·   'spread' / 'GTK_BUTTONBOX_SPREAD'
71
72       ·   'edge' / 'GTK_BUTTONBOX_EDGE'
73
74       ·   'start' / 'GTK_BUTTONBOX_START'
75
76       ·   'end' / 'GTK_BUTTONBOX_END'
77
78       ·   'center' / 'GTK_BUTTONBOX_CENTER'
79

SEE ALSO

81       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
82       Gtk2::Container, Gtk2::Box
83
85       Copyright (C) 2003-2011 by the gtk2-perl team.
86
87       This software is licensed under the LGPL.  See Gtk2 for a full notice.
88
89
90
91perl v5.32.0                      2020-07-28                Gtk2::ButtonBox(3)
Impressum