Forum und email

GtkBox

Base class for box containers.

オブジェクトの階層

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

Direct Subclasses

説明

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.

メソッド

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()
  非推奨: use pack_end() instead
pack_start_defaults()
  非推奨: use pack_start() instead
query_child_packing()
  Returns array of information about a packed widget.