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:
Displays a single line of text.
Displays multiple lines of text.
Inputs multiple lines of text.
(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"))