Gtk2::ButtonBox(3) User Contributed Perl Documentation Gtk2::ButtonBox(3)

Gtk2::ButtonBox - wrapper for GtkButtonBox

Glib::Object
+----Glib::InitiallyUnowned
     +----Gtk2::Object
          +----Gtk2::Widget
               +----Gtk2::Container
                    +----Gtk2::Box
                         +----Gtk2::ButtonBox

Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Gtk2::Orientable

$child (Gtk2::Widget)

Since: gtk+ 2.4

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

  • $child (Gtk2::Widget)
  • $is_secondary (boolean)

$widget->set_layout ($layout_style)

$layout_style (Gtk2::ButtonBoxStyle)

'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

'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

'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

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

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Box

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.

2022-05-29 perl v5.36.0