Page 285 Table of Contents Index Page 287
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


28.2 Defining and Creating Application Frames

=> application-frame [Protocol Class]
The protocol class that corresponds to an application frame. If you want to create a new class
that behaves like an application frame, it should be a subclass of application-frame. Subclasses
of application-frame must obey the application frame protocol.

All application frame classes are mutable.

=> application-frame-p object [Function]
Returns true if object is an application frame, otherwise returns false.

=> :name [Init Arg]
=> :pretty-name [Init Arg]
=> :command-table [Init Arg]
=> :disabled-commands [Init Arg]
=> :panes [Init Arg]
=> :menu-bar [Init Arg]
=> :calling-frame [Init Arg]
=> :state [Init Arg]
=> :properties [Init Arg]
All subclasses of application-frame must handle these initargs, which are used to specify,
respectively, the name, pretty name, command table, initial set of disabled commands, the
panes, the menu bar, calling frame, state, and initial properties for the frame.

=> standard-application-frame [Class]
The standard class that implements application frames. By default, most application frame
classes will inherit from this class, unless a non-nil value for superclasses is supplied to define-
application-frame
.

=> define-application-frame name superclasses slots &rest options [Macro]
Defines a frame and CLOS class named by the symbol name that inherits from superclasses and
has state variables specified by slots. superclasses is a list of superclasses that the new class will
inherit from (as in defclass). When superclasses is nil, it behaves as though a superclass of
standard-application-frame was supplied. slots is a list of additional slot specifiers, whose
syntax is the same as the slot specifiers in defclass. Each instance of the frame will have slots
as specified by these slot specifiers. These slots will typically hold any per-instance frame state.
options is a list of defclass-style options, and can include the usual defclass options, plus any
of the following:


Page 285 Table of Contents Index Page 287
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