Method

GtkBoxpack_end

Declaration [src]

void
gtk_box_pack_end (
  GtkBox* box,
  GtkWidget* child,
  gboolean expand,
  gboolean fill,
  guint padding
)

Description [src]

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.

Parameters

child

Type: GtkWidget

The GtkWidget to be added to box.

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 to box. The extra space will be divided evenly between all children of box that use this option.

fill

Type: gboolean

TRUE if space given to child by the expand option is actually allocated to child, rather than just padding it. This parameter has no effect if expand is set to FALSE. A child is always allocated the full height of a horizontal GtkBox and the full width of a vertical GtkBox. 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. If child is a widget at one of the reference ends of box, then padding pixels are also put between child and the reference edge of box.