GtkButtonBox

Base class for GtkHButtonBox and GtkVButtonBox.

Object Hierarchy

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkContainer
                     `-- GtkBox
                            `-- GtkButtonBox

Direct Subclasses

Description

GtkButtonBox is a base class underlying GtkHButtonBox and GtkVButtonBox, that provides some methods to control the button layout within those widgets. One of this methods is set_layout() , that applies one of the GtkButtonBoxStyle layouts to the button box. Another one is set_child_secondary() , that causes the child to appear in a secondary group of the button box.

The main purpose of GtkButtonBox is to make sure the children have all the same size. Therefore it ignores the homogeneous property which it inherited from GtkBox, and always behaves as if homogeneous was true.

Methods

get_child_ipadding()
  DEPRECATED. Gets child's internal padding.
get_child_secondary()
  Gets whether the child should appear in a secondary group of children.
get_child_size()
  DEPRECATED. Returns the current width and height of all child widgets in a button box.
get_layout()
  Retrieves the method being used to arrange the buttons in a button box.
set_child_ipadding()
  DEPRECATED. Changes the amount of internal padding used by all buttons in a given button box.
set_child_secondary()
  Sets whether child should appear in a secondary group of children.
set_child_size()
  DEPRECATED. Sets a new default size for the children of a given button box.
set_layout()
  Changes the way buttons are arranged in their container.