$command ( element -- ) (original) (raw)
$command ( element -- )
Factor handbook » UI framework » Implementing new gadgets » UI gestures » Commands
Prev: | $command-map ( element -- ) |
---|
Inputs
element | a triple { class map command } |
---|
Outputs
None
Word description
Prints the keyboard shortcut associated with command in the command map named map on the class class.
Definition
USING: accessors assocs help.markup sequences ui.gestures ;
: $command ( element -- )
reverse first3 get-command-at commands>> value-at
gesture>string $snippet ;