Page 305 Table of Contents Index Page 307
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 29. PANES

=> make-pane abstract-class-name &rest initargs [Function]
Selects a class that implements the behavior of the abstract pane abstract-class-name and con-
structs a pane of that class. make-pane must be used either within the dynamic scope of a
call to with-look-and-feel-realization, or within the :pane or :panes options of a define-
application-frame
(which implicitly invokes with-look-and-feel-realization).

=> make-pane-1 realizer frame abstract-class-name &rest initargs [Generic Function]
The generic function that is invoked by a call to make-pane. The object that realizes the
pane, realizer, is established by with-look-and-feel-realization. Usually, realizer is a frame
manager, but it could be another object that implements the pane realization protocol. frame
is the frame for which the pane will be created, and abstract-class-name is the type of pane to
create.

=> with-look-and-feel-realization (realizer frame) &body forms [Macro]
Establishes a dynamic context that installs realizer as the object responsible for realizing panes.
All calls to make-pane within the context of with-look-and-feel-realization result in make-
pane-1
being invoked on realizer. This macro can be nested dynamically; inner uses shadow
outer uses. body may have zero or more declarations as its first forms.

Typically realizer is a frame manager, but in some cases realizer may be some other object.
For example, within the implementation of pane that is uses its own subpanes to achieve its
functionality, this form might be used with realizer being the pane itself.

29.2.1 Pane Initialization Options

The following options must be accepted by all pane classes.

=> :foreground [Option]
=> :background [Option]
These options specify the default foreground and background inks for a pane. Client code should
be cautious about passing values for these two options, since the desktop's look and feel or the
user's preferences should usually determine these values.

=> :text-style [Option]
This option specifies the default text style that should be used for any sort of pane that supports
text output. Panes that do not support text output ignore this option. Client code should be
cautious about passing values for this option, since the desktop's look and feel or the user's
preferences should usually determine this value.

=> :name [Option]
This option specifies the name of the pane. It defaults to nil.


Page 305 Table of Contents Index Page 307
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