Gtk2::ButtonBox3pm
Wrapper for gtkbuttonbox
Hierarchy
Glib::Object+----Glib::InitiallyUnowned+----Gtk2::Object+----Gtk2::Widget+----Gtk2::Container+----Gtk2::Box+----Gtk2::ButtonBox
Interfaces
Glib::Object::_Unregistered::AtkImplementorIfaceGtk2::BuildableGtk2::Orientable
Methods
boolean = $widget->get_child_secondary ($child)
- •
-
$child(Gtk2::Widget)
Since: gtk+ 2.4
$widget->set_child_secondary ($child, $is_secondary)
•
|
|
|---|---|
•
|
|
buttonboxstyle = $widget->get_layout
$widget->set_layout ($layout_style)
- •
-
$layout_style(Gtk2::ButtonBoxStyle)
Properties
- 'layout-style' (Gtk2::ButtonBoxStyle : default "default-style" : readable / writable / private)
-
How to lay out the buttons in the box. Possible values are: default, spread, edge, start and end
Child properties
- 'secondary' (boolean : default false : readable / writable / private)
-
If TRUE, the child appears in a secondary group of children, suitable for, e.g., help buttons
Style properties
'child-internal-pad-x' (integer : default 4 : readable / private)
|
Amount to increase child's size on either side |
|---|---|
'child-internal-pad-y' (integer : default 0 : readable / private)
|
Amount to increase child's size on the top and bottom |
'child-min-height' (integer : default 27 : readable / private)
|
Minimum height of buttons inside the box |
'child-min-width' (integer : default 85 : readable / private)
|
Minimum width of buttons inside the box |
Enums and flags
enum Gtk2::ButtonBoxStyle
•
|
'default-style' / 'GTK_BUTTONBOX_DEFAULT_STYLE' |
|---|---|
•
|
'spread' / 'GTK_BUTTONBOX_SPREAD' |
•
|
'edge' / 'GTK_BUTTONBOX_EDGE' |
•
|
'start' / 'GTK_BUTTONBOX_START' |
•
|
'end' / 'GTK_BUTTONBOX_END' |
•
|
'center' / 'GTK_BUTTONBOX_CENTER' |
Releases
7 releases since Debian 3.1 (Sarge); the text changed 6 times.