Forum und email

GtkHBox

A horizontal box for organizing child widgets.

オブジェクトの階層

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

Direct Subclasses

説明

The GtkHBox container is designed to organize child widgets along a single row, allocating the same height to all children. This overrides any child requisition size, and child widgets that take up less than the allocated space are horizontally centered by default within that space.

Adding child widgets to a GtkHBox is done by packing methods that are either inherited from the GtkBox class, such as pack_start() , or by the less flexible add() , common to all container widgets.

GtkHBox and GtkVBox, in combination, are the most commonly used packing widgets.For sample code on how to use both, check the GtkVBox constructor entry.

参照: GtkVBox, GtkTable, GtkButtonBox, GtkBox, GtkContainer.

コンストラクタ

GtkHBox ([bool homogeneous = false [, int spacing = 0]]);

-- Creates a container that arranges widgets horizontally.