Handbook
Glossary
hide-glass ( child -- )
Factor handbook
»
UI framework
»
Building user interfaces
»
Gadget hierarchy and layouts
»
Glass layers
Prev:
show-glass ( owner child visible-rect -- )
Next:
hide-glass-hook ( gadget -- )
Vocabulary
ui
.
gadgets
.
glass
Inputs
child
a
gadget
Outputs
None
Word description
Hides a gadget displayed in a glass layer.
Definition
USING:
kernel
ui.gadgets
ui.gadgets.glass.private
ui.gadgets.worlds
;
IN:
ui.gadgets.glass
:
hide-glass
( child -- )
[
glass?
]
find-parent
[
dup
find-world
[
unparent
]
dip
request-focus
]
when*
;