HBox.this

Creates a new gtk.HBox

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 Value

a new gtk.HBox

Detailed Description

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

Throws

ConstructionException GTK+ fails to create the object.