Handbook
Glossary
commands ( class -- hash )
Factor handbook
»
UI framework
»
Implementing new gadgets
»
UI gestures
»
Commands
Prev:
define-command-map ( class group blurb pairs -- )
Next:
command-map
Vocabulary
ui
.
commands
Inputs
class
a class word
Outputs
hash
a
hashtable
Word description
Outputs a hashtable mapping command map names to
command-map
instances.
Definition
USING:
kernel
words
;
IN:
ui.commands
:
commands
( class -- hash )
[
"commands"
word-prop
]
[
H{
}
clone
[
"commands"
set-word-prop
]
keep
]
?unless
;