
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-panelayoutinterfacepinboard-objectmenumenu-itemmenu-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-containerdisplayelement

Generated with Harlequin WebMaker