Factor handbook > UI framework > Implementing new gadgets > UI gestures > Commands

Prev:commands ( class -- hash )
Next:invoke-command ( target command -- )


Inputs and outputs
groupa string
classa class word
command-mapa command-map or f

Word description
Outputs a named command map defined on a class.

Class description
A command map stores a group of related commands. The commands slot stores an association list mapping gestures to commands, and the blurb slot stores an optional one-line description string of this command map.

Command maps are created by calling <command-map> or define-command-map.