Page 282 Table of Contents Index Page 284
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

The present presentation method for the command type must call the command unparser stored
in *command-unparser*.

If a presentation history is maintained for the command presentation type, it should be maintained
separately for each instance of an application frame.

=> command-name &key command-table [Presentation Type]
The presentation type used to represent the name of a command that is both accessible in
the command table command-table and enabled in *application-frame*. command-table is a
command table designator. If command-table is not supplied, it defaults to the command table
for the current application frame, (frame-command-table *application-frame*).

The textual representation of a command-name object is the command-line name of the command,
while the internal representation is the command name.

=> command-or-form &key command-table [Presentation Type]
The presentation type used to represent an object that is either a Lisp form, or a command and its
arguments. The command must be accessible in command-table and enabled in *application-
frame*
. command-table is a command table designator. If command-table is not supplied,
it defaults to the command table for the current application frame, (frame-command-table
*application-frame*)
.

The accept presentation method for this type reads a Lisp form, except that if the first character
in the user's input is one of the characters in *command-dispatchers* it will read a command.
The two returned values from the accept presentation method will be the command or form
object and a presentation type specifier that is either command or form.

If a presentation history is maintained for the command-or-form presentation type, it should be
maintained separately for each instance of an application frame.

=> *command-dispatchers* [Variable]
This is a list of the characters that indicates that CLIM reads a command when it is accepting
a command-or-form. The standard set of command argument delimiters must include the colon
character, #\:.


Page 282 Table of Contents Index Page 284
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