1 CAPI Reference Entries
contain
function creates a container for a CAPI element and is provided as a convenient way of testing CAPI functionality.
contain element &key screen &allow-other-keys
make-container
, which can make containers for any of the following classes:simple-pane
layout
interface
pinboard-object
menu
menu-item
menu-component
list
list
, the CAPI tries to see what sort of objects they are and makes an appropriate container. For instance, if they were allsimple-panes
it would put them into acolumn-layout
.
(capi:contain (make-instance 'capi:text-input-pane)) (capi:contain (make-instance 'capi:column-layout :description '("Title:" ,(make-instance 'capi:text-input-pane))))(capi:contain (make-instance 'capi:menu-item :title "Test"))
make-container
display
element
Generated with Harlequin WebMaker