Method
GtkBoxpack_start
Declaration [src]
void
gtk_box_pack_start (
GtkBox* box,
GtkWidget* child,
gboolean expand,
gboolean fill,
guint padding
)
Description [src]
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.
Parameters
child-
Type:
GtkWidgetThe
GtkWidgetto be added tobox.The data is owned by the caller of the method. expand-
Type:
gbooleanTRUEif the new child is to be given extra space allocated tobox. The extra space will be divided evenly between all children that use this option. fill-
Type:
gbooleanTRUEif space given tochildby theexpandoption is actually allocated tochild, rather than just padding it. This parameter has no effect ifexpandis set toFALSE. A child is always allocated the full height of a horizontalGtkBoxand the full width of a verticalGtkBox. This option affects the other dimension. padding-
Type:
guintExtra space in pixels to put between this child and its neighbors, over and above the global amount specified by
GtkBox:spacingproperty. Ifchildis a widget at one of the reference ends ofbox, thenpaddingpixels are also put betweenchildand the reference edge ofbox.