gtk.hbox

Module for [HBox] class

Types 3

#GtkHBox is a container that organizes child widgets into a single row.

Use the #GtkBox packing interface to determine the arrangement, spacing, width, and alignment of #GtkHBox children.

All children are allocated the same height.

GtkHBox has been deprecated. You can use #GtkBox 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 #GtkBox. No further changes are needed, since the default value of the #GtkOrientable:orientation property is [gtk.types.Orientation.Horizontal].

If you have a grid-like layout composed of nested boxes, and you don’t need first-child or last-child styling, the recommendation is to switch to #GtkGrid. For more information about migrating to #GtkGrid, see [Migrating from other containers to GtkGrid][gtk-migrating-GtkGrid].

Methods
GType _gType() @property
HBox self()Returns `this`, for use in `with` statements.
HBoxGidBuilder builder()Get builder for [gtk.hbox.HBox] Returns: New builder object
Constructors
this(void * ptr, Flag!"Take" take)
this(bool homogeneous, int spacing)Creates a new #GtkHBox.

Fluent builder for [gtk.hbox.HBox]

Methods