Next Previous Up Top Contents Index

9.4 DUIM-Frames Module

<command>

Open abstract instantiable class

Summary

The class of commands.

Superclasses

<object> 

Init-keywords

function:
An instance of type <function>.

arguments:
An instance of type <sequence>. Default value: #[].

Library

duim-frames

Module

duim-frames

Description

The class of commands. These are commands that can be grouped together in a command table to form the set of commands available to an application (available, for example, from the menu bar of the application). The resulting command object can then be executed by calling
execute-command.

The function: init-keyword is the command function that is called by the command object. A command function is rather like a callback to a <command> object: a command can be executed via execute-command, which then invokes the command function. Command functions take at least one argument: a <frame> object.

The arguments: init-keyword are the arguments passed to the command function.

Operations

= add-command command-arguments command-enabled?
command-enabled?-setter command-function command-undoable? dialog-cancel-callback-setter dialog-exit-callback-setter execute-command gadget-command gadget-command-setter gadget-key-press-callback-setter redo-command remove-command undo-command

See also

command?, page 717

command-arguments, page 718

command-function, page 720

execute-command, page 783

<simple-command>, page 846


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index