VBox

Description 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.

Constructors

this
this(GtkVBox* gtkVBox)

Sets our main struct and passes it to the parent class

this
this(int homogeneous, int spacing)

Creates a new GtkVBox.

Members

Functions

getStruct
void* getStruct()

the main Gtk struct as a void*

getVBoxStruct
GtkVBox* getVBoxStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

gtkVBox
GtkVBox* gtkVBox;

the main Gtk struct

Inherited Members

From Box

gtkBox
GtkBox* gtkBox;

the main Gtk struct

getBoxStruct
GtkBox* getBoxStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
__anonymous
mixin OrientableT!(GtkBox)
Undocumented in source.
packStart
void packStart(Widget child, int expand, int fill, uint padding)

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.

packEnd
void packEnd(Widget child, int expand, int fill, uint padding)

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.

packStartDefaults
void packStartDefaults(Widget widget)

Warning gtk_box_pack_start_defaults has been deprecated since version 2.14 and should not be used in newly-written code. Use gtk_box_pack_start() Adds widget 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. Parameters for how to pack the child widget, "expand", "fill" and "padding", are given their default values, TRUE, TRUE, and 0, respectively.

packEndDefaults
void packEndDefaults(Widget widget)

Warning gtk_box_pack_end_defaults has been deprecated since version 2.14 and should not be used in newly-written code. Use gtk_box_pack_end() Adds widget to box, packed with reference to the end of box. The child is packed after any other child packed with reference to the start of box. Parameters for how to pack the child widget, "expand", "fill" and "padding", are given their default values, TRUE, TRUE, and 0, respectively.

getHomogeneous
int getHomogeneous()

Returns whether the box is homogeneous (all children are the same size). See gtk_box_set_homogeneous().

setHomogeneous
void setHomogeneous(int homogeneous)

Sets the "homogeneous" property of box, controlling whether or not all children of box are given equal space in the box.

getSpacing
int getSpacing()

Gets the value set by gtk_box_set_spacing().

setSpacing
void setSpacing(int spacing)

Sets the "spacing" property of box, which is the number of pixels to place between children of box.

reorderChild
void reorderChild(Widget child, int position)

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.

queryChildPacking
void queryChildPacking(Widget child, int expand, int fill, uint padding, GtkPackType packType)

Obtains information about how child is packed into box.

setChildPacking
void setChildPacking(Widget child, int expand, int fill, uint padding, GtkPackType packType)

Sets the way child is packed into box.

Meta