HBox.this

Creates a new #GtkHBox.

More...
  1. this(GtkHBox* gtkHBox, bool ownedRef)
  2. this(bool homogeneous, int spacing)
    class HBox
    this
    (,)

Parameters

homogeneous bool

%TRUE if all children are to be given equal space allotments.

spacing int

the number of pixels to place by default between children.

Return: a new #GtkHBox.

Detailed Description

Deprecated: You can use gtk_box_new() with %GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to #GtkGrid, since #GtkBox is going to go away eventually. See [Migrating from other containers to GtkGrid][gtk-migrating-GtkGrid].

Throws

ConstructionException GTK+ fails to create the object.

Meta