
1 CAPI Reference Entries
titled-pane provides support for decorating a pane with a title (a piece of text positioned next to the pane) and with a message (a piece of text below the pane).
simple-pane
interface
layout
title-pane
display-pane
text-input-pane
button
list-panel
button-panel
option-pane
contact-pane
titlenil).
title-args
title-positionThe position of the title.
title-adjust
messagenil).
message-argsmake-instance.
titled-pane-title
titled-pane-message
title-args andmessage-args.
:left
:right
:top
:bottom
title-adjust slot is used to adjust the title so that it is left justified, right justified or centered. The value oftitle-adjust can be any of the values accepted by the functionpane-adjusted-offset, which are:left,:right,:top,:bottom,:center and:centre.
text-input-pane is a subclass oftitled-pane, and that it has a defaulttitle-position of:left.
(capi:contain (make-instance 'capi:text-input-pane))(capi:contain (make-instance 'capi:text-input-pane :title "Enter some text:"))
(capi:contain (make-instance 'capi:text-input-pane :title "Enter some text:" :title-position :top))
(capi:contain (make-instance 'capi:text-input-pane :title "Enter some text:" :title-position :top :title-adjust :center))
(capi:contain (make-instance 'capi:text-input-pane :title "Enter some text:" :title-position :top :title-adjust :right))
(capi:contain (make-instance 'capi:text-input-pane :message "A message"))
(capi:contain (make-instance 'capi:text-input-pane :message "A message" :title "Enter some text:"))
(capi:contain (make-instance 'capi:text-input-pane :title "Enter some text:" :title-args '(:foreground :red)))
title-pane

Generated with Harlequin WebMaker