
The class simple-pane is the superclass for any elements that actually appear as a native window, and is itself an empty window.
display-pane
interface
title-pane
button-panel
list-panel
option-pane
output-pane
progress-bar
slider
text-input-pane
tree-view
toolbar
layout
button
The background color of the pane.
The foreground color of the pane.
The default font for the pane.
Non- nil if the pane can scroll horizontally.
The background and foreground colors are colors specified using the graphics ports color system, and the font must be a generic font. The value for visible-border can be any of the following:
Has no border.
Has a border.
Use the default for the window type.
Any simple pane can be made to scroll by specifying t to :horizontal-scroll or :vertical-scroll . By default these values are nil , but some subclasses of simple-pane default them to t where appropriate (for instance editor-panes always default to having a vertical scroll-bar). The height and width of a scrollable simple pane can be specified by the initargs :scroll-height and :scroll-width , which have the same meaning as :internal-min-height and :internal-min-width . See the LispWorks CAPI User Guide for more information about height and width initargs.
In order to display a simple pane, it needs to be contained within an interface. The two convenience functions make-container and contain are provided to create an interface with enough support for that pane. The function make-container just returns a container for an element, and the function contain displays an interface created for the pane using make-container .
(capi:contain (make-instance 'capi:output-pane
:background :red
:scroll-width 300
:horizontal-scroll t))
(capi:contain (make-instance 'capi:editor-pane
:visible-border t))