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 and outputs
parenta gadget
childrena sequence of gadgets


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