Handbook
Glossary
button-up
Factor handbook
»
UI framework
»
Implementing new gadgets
»
UI gestures
»
Mouse gestures
Prev:
button-down
Next:
motion
Vocabulary
ui.gestures
Class description
Mouse button up gesture. Instances have two slots:
mods
a sequence of modifiers; see
Keyboard gestures
#
a mouse button number, or
f
indicating no specific button is expected
Examples
T{ button-up f f 1 } T{ button-up }
Definition
IN:
ui.gestures
TUPLE:
button-up
mods #
;
Methods
USING:
accessors
kernel
make
math.parser
ui.gestures
;
M:
button-up
gesture>string
[
dup
mods>>
modifiers>string
%
"Click Button"
%
#>>
[
" "
%
#
]
when*
]
""
make
;