Sets our main struct and passes it to the parent class
Warning gtk_vbox_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_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. Creates a new GtkVBox.
the main Gtk struct as a void*
the main Gtk struct
the main Gtk struct
the main Gtk struct as a void*
Adds child to box, packed with reference to the start of box. The child is packed after any other child packed with reference to the start of box.
Adds child to box, packed with reference to the end of box. The child is packed after (away from end of) any other child packed with reference to the end of box.
Returns whether the box is homogeneous (all children are the same size). See gtk_box_set_homogeneous().
Sets the "homogeneous" property of box, controlling whether or not all children of box are given equal space in the box.
Gets the value set by gtk_box_set_spacing().
Sets the "spacing" property of box, which is the number of pixels to place between children of box.
Moves child to a new position in the list of box children. The list is the children field of GtkBox, and contains both widgets packed GTK_PACK_START as well as widgets packed GTK_PACK_END, in the order that these widgets were added to box. A widget's position in the box children list determines where the widget is packed into box. A child widget at some position in the list will be packed just after all other widgets of the same packing type that appear earlier in the list.
Obtains information about how child is packed into box.
Sets the way child is packed into box.
Gets the value set by gtk_box_set_baseline_position().
Sets the baseline position of a box. This affects only horizontal boxes with at least one baseline aligned child. If there is more vertical space availible than requested, and the baseline is not allocated by the parent then position is used to allocate the baseline wrt the extra space available.
A GtkVBox is a container that organizes child widgets into a single column.
Use the GtkBox packing interface to determine the arrangement, spacing, height, and alignment of GtkVBox children.
All children are allocated the same width.
GtkVBox has been deprecated. You can use GtkBox 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 GtkBox, 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 GtkGrid instead of nested boxes. For more information about migrating to GtkGrid, see Migrating from other containers to GtkGrid.