HBox.this

Warning gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. 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. Creates a new GtkHBox.

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

Parameters

homogeneous int

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

spacing int

the number of pixels to place by default between children.

Throws

ConstructionException GTK+ fails to create the object.

Meta