GtkBox

Base class for box containers.

Object Hierarchy

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

Direct Subclasses

Description

GtkBox is a base class providing box containers GtkHBox and GtkVBox with properties and methods for packing any number of child widgets.

Note that GtkBox is an abstract class and cannot be constructed directly.

For more information about packing widgets see the packing tutorial.

Methods

get_homogeneous()
  Whether all children are allocated the same size.
get_spacing()
  Returns the spacing between widgets.
pack_end()
  Adds a widget to the box in the next available position, starting from the end.
pack_start()
  Adds a widget to the box in the next available position starting from the begining.
reorder_child()
  Moves a child widget to a certain position.
set_child_packing()
  Sets packing parameters for a child.
set_homogeneous()
  Toggles equality of child sizing.
set_spacing()
  Sets spacing between children.
pack_end_defaults()
  DEPRECATED: use pack_end() instead
pack_start_defaults()
  DEPRECATED: use pack_start() instead
query_child_packing()
  Returns array of information about a packed widget.