
The most common use of title panes is as a title for a pane, and so the class titled-object is provided as a class that supports placing title panes around itself.
By default, title panes are constrained so that they cannot resize (that is, the values of visible-max-width and visible-max-height are t ) but this can be altered by using :visible-max-width nil or :visible-max-height nil .
(setq title-pane (capi:contain
(make-instance
'capi:title-pane
:text "This is a title pane")
:process nil))
(setf (capi:title-pane-text title-pane) "New title")