Types and Values
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBox ╰── GtkVBox
A GtkVBox is a container that organizes child widgets into a single column.
All children are allocated the same width.
If you have derived your own classes from GtkVBox, you can change the
inheritance to derive directly from GtkBox, and set the “orientation”
GTK_ORIENTATION_VERTICAL in your instance init function,
with a call like:
gtk_orientable_set_orientation (GTK_ORIENTABLE (object), GTK_ORIENTATION_VERTICAL);
If you have a grid-like layout composed of nested boxes, and you don’t need first-child or last-child styling, the recommendation is to switch to GtkGrid. For more information about migrating to GtkGrid, see Migrating from other containers to GtkGrid.
GtkWidget * gtk_vbox_new (
gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code.
Creates a new GtkVBox.
the number of pixels to place by default between children.
a new GtkVBox.