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)

•   $child (Gtk2::Widget)

Since: gtk+ 2.4

  $widget->set_child_secondary ($child, $is_secondary)

•   $child (Gtk2::Widget)

•   $is_secondary (boolean)

  buttonboxstyle = $widget->get_layout

  $widget->set_layout ($layout_style)

•   $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

•   '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'

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.