Next Prev Up Top Contents Index

display-pane

Class
Summary

The class display-pane is a pane that displays several lines of text.

Superclasses

titled-object
simple-pane

Slots

text

A string or a list of strings to be displayed.

Accessors

display-pane-text

Description

The text passed to a display pane can be provided either as a single string containing newlines, or else as a list of strings where each string represents a line.

There are several classes which can display text, as follows:

title-pane

Displays a single line of text.

display-pane

Displays multiple lines of text.

text-input-pane

Inputs a single line of text.

editor-pane

Inputs multiple lines of text.

Examples
(capi:contain (make-instance
               'capi:display-pane
               :text
                 '("One" "Line" "At" "A" "Time...")))
(setq display-pane (capi:contain
                    (make-instance
                     'capi:display-pane
                     :text
                     '("One" "Line" "At" "A" "Time...")
                     :visible-min-height
                     '(:character 5))
                    :process nil))
(setf (capi:display-pane-text display-pane)
      '("Some" "New" "Text"))
See also

title-pane
text-input-pane
editor-pane


LispWorks CAPI Reference Manual - 14 Dec 2001

Next Prev Up Top Contents Index