Handbook
Glossary
pass-to-popup ( gesture owner -- ? )
Factor handbook
»
UI framework
»
Building user interfaces
»
Gadget hierarchy and layouts
»
Glass layers
Prev:
show-popup ( owner popup visible-rect -- )
Vocabulary
ui
.
gadgets
.
glass
Inputs
gesture
a gesture
owner
the popup's owner
Outputs
?
a
boolean
Word description
Resends the gesture to the popup displayed by
owner
. The owner must have a
popup
slot. Outputs
f
if the gesture was handled,
t
otherwise.
Definition
USING:
accessors
ui.gadgets
ui.gestures
;
IN:
ui.gadgets.glass
:
pass-to-popup
( gesture owner -- ? )
popup>>
focusable-child
resend-gesture
;