LispWorks CAPI User Guide > 4 Creating Common Windows > 4.3 Displaying and entering text

NextPrevUpTopContentsIndex

4.3.1 Display panes

Display panes can be used to display text messages on the screen. The text in these messages cannot be edited, so they can be used by the application to present a message to the user. The :text keyword can be used to specify the message that is to appear in the pane.

  1. Create a display pane by evaluating the code below:
(setq display (make-instance 'display-pane
                    :text "This is a message"))
(contain display)

Figure 4.3 A display pane

Note that the window title, which defaults to "Container" for windows created by contain , may appear truncated.


LispWorks CAPI User Guide (Windows version) - 22 Dec 2009

NextPrevUpTopContentsIndex