key-down
Factor handbook > UI framework > Implementing new gadgets > UI gestures > Keyboard gestures

Next:key-up


Vocabulary
ui.gestures

Class description
Key down gesture. Instances have two slots:
mods - a sequence of modifiers; see Keyboard gestures
sym - a string denoting the key pressed; see Keyboard gestures


Examples
T{ key-down f { C+ } "a" } T{ key-down f f "TAB" }


Definition


Methods