All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

NextPrevUpTopContentsIndex

display-pane

Class
Summary

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

Package

capi

Superclasses

titled-object
simple-pane

Initargs

: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.

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

display-pane-selected-text
display-pane-selection
display-pane-selection-p
editor-pane
set-display-pane-selection
text-input-pane
title-pane
Displaying and entering text


CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017

NextPrevUpTopContentsIndex