VBox.this

Creates a new gtk.VBox

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 Value

a new gtk.VBox

Detailed Description

Deprecated: You can use Box.new with GTK_ORIENTATION_VERTICAL 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.