VBox.this

Creates a new #GtkVBox.

More...
  1. this(GtkVBox* gtkVBox, bool ownedRef)
  2. this(bool homogeneous, int spacing)
    class VBox
    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 #GtkVBox.

Detailed Description

Deprecated: You can use gtk_box_new() with %GTK_ORIENTATION_VERTICAL 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