clear-gadget ( gadget -- )
Factor handbook » UI framework » Building user interfaces » Gadget hierarchy and layouts » Layout basics

Prev:add-gadgets ( parent children -- parent )
Next:gadget-child ( gadget -- child )


Vocabulary
ui.gadgets

Inputs
gadgeta gadget


Outputs
None

Word description
Removes all children from the gadget. This will relayout the gadget.

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

Side effects
Modifies gadget

Definition