pack_start


Description:

public void pack_start (Widget child, bool expand = true, bool fill = true, uint padding = 0)

Adds child to this, packed with reference to the start of this .

The child is packed after any other child packed with reference to the start of this.

Parameters:

this

a Box

child

the Widget to be added to this

expand

true if the new child is to be given extra space allocated to this. The extra space will be divided evenly between all children that use this option

fill

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 Box and the full width of a vertical Box. This option affects the other dimension

padding

extra space in pixels to put between this child and its neighbors, over and above the global amount specified by spacing property. If child is a widget at one of the reference ends of this, then padding pixels are also put between child and the reference edge of this