define-command-map ( class group blurb pairs -- ) (original) (raw)

Vocabulary
ui.commands

Inputs

class a class word
group a string
blurb a string or f
pairs a sequence of gesture/word pairs

Outputs
None

Word description
Defines a command map on the specified gadget class. The blurb is an optional description. The pairs parameter is a sequence of pairs { gesture word }. The gesture may be f if you are defining a "toolbar" group. The words must be valid commands; see define-command.

Notes
Only one of define-command-map and set-gestures can be used on a given gadget class, since each word will overwrite the other word's definitions.

Definition