Displays a window containing an element.
creates and displays a container for the CAPI element
as its result.
is provided as a convenient way of testing CAPI functionality and is useful mainly during interactive development. Many of the CAPI examples use it.
The container is created using make-container, which can make containers for any of the following classes:
In the case of a
, the CAPI tries to see what sort of objects they are and makes an appropriate container. For instance, if they were all simple-panes it would put them into a column-layout.
, after removing the arguments
, are passed to
as the initargs to the interface.
is used as the title of the container.
The values of the arguments
are passed to display when displaying the container.
(capi:contain (make-instance 'capi:text-input-pane))
(capi:contain (make-instance 'capi:menu-item)
LispWorks CAPI Reference Manual - 17 Mar 2008