Handbook
Glossary
parents ( gadget -- seq )
Factor handbook
»
UI framework
»
Building user interfaces
»
Gadget hierarchy and layouts
»
Layout basics
Prev:
child? ( parent child -- ? )
Next:
each-parent ( ... gadget quot: ( ... gadget -- ... ? ) -- ... ? )
Vocabulary
ui
.
gadgets
Inputs
gadget
a
gadget
Outputs
seq
a sequence of gadgets
Word description
Outputs a sequence of all parents of the gadget, with the first element being the gadget itself.
Definition
USING:
accessors
sequences
;
IN:
ui.gadgets
:
parents
( gadget -- seq )
[
parent>>
]
follow
;