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:
GtkWidget
The
GtkWidget
to be added tobox
.The data is owned by the caller of the method. expand
-
Type:
gboolean
TRUE
if 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:
gboolean
TRUE
if space given tochild
by theexpand
option is actually allocated tochild
, rather than just padding it. This parameter has no effect ifexpand
is set toFALSE
. A child is always allocated the full height of a horizontalGtkBox
and the full width of a verticalGtkBox
. This option affects the other dimension. padding
-
Type:
guint
Extra space in pixels to put between this child and its neighbors, over and above the global amount specified by
GtkBox:spacing
property. Ifchild
is a widget at one of the reference ends ofbox
, thenpadding
pixels are also put betweenchild
and the reference edge ofbox
.