each-child ( ... gadget quot: ( ... child -- ... ) -- ... )
Factor handbook » UI framework » Building user interfaces » Gadget hierarchy and layouts » Layout basics

Prev:nth-gadget ( n gadget -- child )
Next:child? ( parent child -- ? )


Vocabulary
ui.gadgets

Inputs
gadgeta gadget
quota quotation with stack effect ( ... child -- ... )


Outputs
None

Word description
Applies the quotation to each child of the gadget.

Definition


: each-child
( ... gadget quot: ( ... child -- ... ) -- ... )
[ children>> ] dip each ; inline