{ $description "Outputs a hashtable mapping command group strings to sequences of commands for the given gadget class." }
{ $see-also define-commands } ;
HELP: define-commands
{ $values { "class" "a class word" } { "group" string } { "specs" "a sequence of command specifiers" } }
{ $description
"Defines a group of commands for the specified gadget class. The " { $snippet "specs" } " parameter is a sequence of triples " { $snippet "{ name gesture quot }" } ", where " { $snippet "name" } " is a string, " { $snippet "gesture" } " is a gesture, and " { $snippet "quot" } " is a " { $link quotation } "."
}
{ $notes "Only one of " { $link define-commands } " and " { $link set-gestures } " can be used on a given gadget class, since each word will overwrite the other word's definitions." }
{ $see-also commands $commands } ;
HELP: $commands
{ $values { "element" "a pair" } }
{ $description "Prints a table of commands, where the first element of the pair is a class word and the second is a command group name." }