HBox


Object Hierarchy:

Object hierarchy for HBox

Description:

[ Version ( deprecated = true , deprecated_since = "3.2" , replacement = "Box" ) ]
public class HBox : Box, Implementor, Buildable, Orientable

Warning: HBox is deprecated since "3.2". Use Gtk.Box.

HBox is a container that organizes child widgets into a single row.

Use the Box packing interface to determine the arrangement, spacing, width, and alignment of HBox children.

All children are allocated the same height.

GtkHBox has been deprecated. You can use Box instead, which is a very quick and easy change. If you have derived your own classes from GtkHBox, you can simply change the inheritance to derive directly from Box. No further changes are needed, since the default value of the orientation property is gtk_orientation_horizontal. If you don’t need first-child or last-child styling, and want your code to be future-proof, the recommendation is to switch to Grid instead of nested boxes. For more information about migrating to Grid, see Migrating from other containers to GtkGrid.


Namespace: Gtk
Package: gtk+-3.0

Content:

Creation methods:

Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from interface Atk.Implementor
All known members inherited from interface Gtk.Orientable