Page 269 Table of Contents Index Page 271
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E



CHAPTER 27. COMMAND PROCESSING

Returns the name of the command table command-table.

=> command-table-inherit-from command-table [Generic Function]
Returns a list of the command tables from which the command table command-table inherits.
This function returns objects that reveal CLIM's internal state; do not modify those objects.

=> define-command-table name &key inherit-from menu [Macro]
Defines a command table whose name is the symbol name. The new command table inherits from
all of the command tables specified by inherit-from, which is a list of command table designators
(that is, either a command table or a symbol that names a command table). The inheritance is
done by union with shadowing. If no inheritance is specified, the command table will be made
to inherit from CLIM's global command table. (This command table contains such things as the
"menu" translator that is associated with the right-hand button on pointers.)

menu can be used to specify a menu for the command table. The value of menu is a list of
clauses. Each clause is a list with the syntax (string type value &key keystroke documentation
text
-style), where string, type, value, keystroke, documentation, and text-style are as for add-
menu-item-to-command-table
.

If the command table named by name already exists, define-command-table will modify the
existing command table to have the new value for inherit-from and menu, and leaves the other
attributes for the existing command table alone.

None of define-command-table's arguments are evaluated.

=> make-command-table name &key inherit-from menu (errorp t) [Function]
Creates a command table named name. inherit-from and menu are the same as for define-
command-table
. make-command-table does not implicitly include CLIM's global command
table in the inheritance list for the new command table. If the command table already exists
and errorp is true, the command-table-already-exists error will be signalled. If the command
table already exists and errorp is false, then the old command table will be discarded. The
returned value is the command table.

=> find-command-table name &key (errorp t) [Function]
Returns the command table named by name. If name is itself a command table, it is returned.
If the command table is not found and errorp is true, the command-table-not-found error will
be signalled.

=> command-table-error [Error Condition]
The class that is the superclass of the following four conditions. This class is a subclass of error.

=> command-table-not-found [Error Condition]
The error that is signalled by such functions as find-command-table when a command table is
not found.


Page 269 Table of Contents Index Page 271
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E