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

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


Vocabulary
ui.gadgets

Inputs and outputs
gadgeta gadget


Word description
Removes the gadget from its parent. This will relayout the parent.

Notes
This may result in ungraft* being called on the gadget and its children, if the gadget's parent is visible on the screen.

Definition