public class VBox : Box, Implementor, Buildable, Orientable
Warning: VBox is deprecated since "3.2". Use Gtk.Box.
A VBox is a container that organizes child widgets into a single column.
Use the Box packing interface to determine the arrangement, spacing, height, and alignment of VBox children.
All children are allocated the same width.
GtkVBox has been deprecated. You can use Box instead, which is a very quick and easy change. If you have derived your own classes from GtkVBox, you can simply change the inheritance to derive directly from Box, and set the orientation property to gtk_orientation_vertical in your instance init function, with a call like:
If you don’t need first-child or last-child styling and want your code to be future-proof, the recommendation is to switch to Grid instead of nested boxes. For more information about migrating to Grid, see Migrating from other containers to GtkGrid.
gtk_orientable_set_orientation (GTK_ORIENTABLE (object),