Gtk.HBox is a container that organizes child widgets into a single row.
Gtk.Box packing interface to determine the arrangement,
spacing, width, and alignment of
All children are allocated the same height.
Gtk.HBox has been deprecated. You can use
Gtk.Box instead, which is a
very quick and easy change. If you have derived your own classes from
Gtk.HBox, you can simply change the inheritance to derive directly
Gtk.Box. No further changes are needed, since the default
value of the
:orientation property is
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
Gtk.Grid. For more information about migrating to
Migrating from other containers to GtkGrid.
- homogeneous (
True if all children are to be given equal space allotments.
- spacing (
int) – the number of pixels to place by default between children.
Creates a new