Page 296 Table of Contents Index Page 298
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 28. APPLICATION FRAMES

=> read-frame-command frame stream [Generic Function]
Reads a command from the stream stream on behalf of the frame frame. The returned value is
a command object.

The default method (on standard-application-frame) for read-frame-command simply calls
read-command, supplying frame's current command table as the command table.

=> execute-frame-command frame command [Generic Function]
Executes the command command on behalf of the frame frame. command is a command object,
that is, a cons of a command name and a list of the command's arguments.

The default method (on standard-application-frame) for execute-frame-command simply
applies the command-name of command to command-arguments of command.

=> command-enabled command-name frame [Generic Function]
Returns true if the command named by command-name is presently enabled in the frame frame,
otherwise returns false. If command-name is not accessible to the command table being used by
frame, command-enabled returns false.

Whether or not a particular command is currently enabled is stored independently for each
instance of an application frame; this status can vary between frames that share a single command
table.

=> (setf command-enabled) enabled command-name frame [Generic Function]
If enabled is false, this disables the use of the command named by command-name while in
the frame frame. Otherwise if enabled is true, the use of the command is enabled. After the
command has been enabled (or disabled), note-command-enabled (or note-command-disabled)
is invoked on the frame manager in order to update the appearance of the interface.

If command-name is not accessible to the command table being used by frame, using setf on
command-enabled does nothing.

=> display-command-menu frame stream &key command-table initial-spacing max-width max-height
n-rows n-columns (cell-align-x
:left) (cell-align-y :top) [Generic Function]
Displays the menu associated with the specified command table on stream by calling display-
command-table-menu
. If command-table is not supplied, it defaults to (frame-command-table
stream). This function is generally used as the display function for panes that contain command
menus.

initial-spacing, max-width, max-height, n-rows, n-columns, cell-align-x, and cell-align-y are as for
formatting-item-list.


Page 296 Table of Contents Index Page 298
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