1 CAPI Reference Entries
simple-pane
is the superclass for any elements that actually appear as a native window, and is itself an empty window.
element
titled-pane
background
foreground
font
horizontal-scroll
Non-nil
if the pane can scroll horizontally.
vertical-scroll
Non-nil
if the pane can scroll vertically.
visible-border
Controls whether the pane has a border.
simple-pane-background
simple-pane-foreground
simple-pane-font
simple-pane-horizontal-scroll
simple-pane-vertical-scroll
simple-pane-visible-border
visible-border
can be any of the following:
nil
t
:default
t
to:horizontal-scroll
or:vertical-scroll
. By default these values arenil
, but some subclasses ofsimple-pane
default tot
where appropriate (for instance editors always default to having a vertical scroll-bar).
make-container
andcontain
are provided to create an interface with enough support for that pane. The functionmake-container
just returns a container for an element, and the functioncontain
displays an interface created for the pane usingmake-container
.
(capi:contain (make-instance 'capi:simple-pane)) (capi:contain (make-instance 'capi:simple-pane :background :red))(capi:contain (make-instance 'capi:simple-pane :background :red :horizontal-scroll t))
(capi:contain (make-instance 'capi:simple-pane :visible-border t))
contain
Generated with Harlequin WebMaker