pack_end


Description:

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

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

The child is packed after (away from end of) any other child packed with reference to the end 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 of this 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