Gtk2::ButtonBox(3) User Contributed Perl Documentation Gtk2::ButtonBox(3) NAME Gtk2::ButtonBox - wrapper for GtkButtonBox HIERARCHY Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Box +----Gtk2::ButtonBox INTERFACES Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable Gtk2::Orientable METHODS boolean = $widget->get_child_secondary ($child) o $child (Gtk2::Widget) Since: gtk+ 2.4 $widget->set_child_secondary ($child, $is_secondary) o $child (Gtk2::Widget) o $is_secondary (boolean) buttonboxstyle = $widget->get_layout $widget->set_layout ($layout_style) o $layout_style (Gtk2::ButtonBoxStyle) PROPERTIES 'layout-style' (Gtk2::ButtonBoxStyle : default "default-style" : readable / writable / private / static-nick / static-blurb) 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 / static-nick / static-blurb) 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 / static-nick / static-blurb) Amount to increase child's size on either side 'child-internal-pad-y' (integer : default 0 : readable / private / static-nick / static-blurb) Amount to increase child's size on the top and bottom 'child-min-height' (integer : default 27 : readable / private / static-nick / static-blurb) Minimum height of buttons inside the box 'child-min-width' (integer : default 85 : readable / private / static-nick / static-blurb) Minimum width of buttons inside the box ENUMS AND FLAGS enum Gtk2::ButtonBoxStyle o 'default-style' / 'GTK_BUTTONBOX_DEFAULT_STYLE' o 'spread' / 'GTK_BUTTONBOX_SPREAD' o 'edge' / 'GTK_BUTTONBOX_EDGE' o 'start' / 'GTK_BUTTONBOX_START' o 'end' / 'GTK_BUTTONBOX_END' o 'center' / 'GTK_BUTTONBOX_CENTER' SEE ALSO Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Box COPYRIGHT Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.40.0 2024-09-01 Gtk2::ButtonBox(3)