Handbook
Glossary
request-focus ( gadget -- )
Factor handbook
»
UI framework
»
Implementing new gadgets
»
UI gestures
»
Keyboard focus
Next:
focusable-child* ( gadget -- child/f )
Vocabulary
ui
.
gadgets
Inputs
gadget
a
gadget
Outputs
None
Word description
Gives keyboard focus to the
focusable-child
of the gadget. This may result in
lose-focus
and
gain-focus
gestures being sent.
Definition
USING:
kernel
;
IN:
ui.gadgets
:
request-focus
( gadget -- )
[
focusable-child
]
keep
request-focus-on
;