add-gadgets ( parent children -- parent )
Factor handbook » UI framework » Building user interfaces » Gadget hierarchy and layouts » Layout basics

Prev:unparent ( gadget -- )
Next:clear-gadget ( gadget -- )


Vocabulary
ui.gadgets

Inputs
parenta gadget
childrena sequence of gadgets


Outputs
parenta gadget


Word description
Adds a sequence of gadgets to a parent. The parent will be relayout.

Notes
This may result in graft* being called on the children, if the parent is visible on the screen.

Side effects
Modifies parent

Definition