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)
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           If TRUE, the child appears in a secondary group of children,
46           suitable for, e.g., help buttons
47

STYLE PROPERTIES

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

ENUMS AND FLAGS

62   enum Gtk2::ButtonBoxStyle
63       ·   'default-style' / 'GTK_BUTTONBOX_DEFAULT_STYLE'
64
65       ·   'spread' / 'GTK_BUTTONBOX_SPREAD'
66
67       ·   'edge' / 'GTK_BUTTONBOX_EDGE'
68
69       ·   'start' / 'GTK_BUTTONBOX_START'
70
71       ·   'end' / 'GTK_BUTTONBOX_END'
72
73       ·   'center' / 'GTK_BUTTONBOX_CENTER'
74

SEE ALSO

76       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
77       Gtk2::Container, Gtk2::Box
78
80       Copyright (C) 2003-2011 by the gtk2-perl team.
81
82       This software is licensed under the LGPL.  See Gtk2 for a full notice.
83
84
85
86perl v5.30.1                      2020-01-30                Gtk2::ButtonBox(3)
Impressum