1 CAPI Reference Entries

make-container

Generic Function

Summary

The generic functionmake-container creates a container for a specified element.

Syntax

make-container element &rest interface-args

Description

This creates a container for element such that callingdisplay on it will produce a window containing element on the screen. It will produce a container for any of the following classes of object:

simple-pane
layout
interface
pinboard-object
menu
menu-item
menu-component
list

In the case of alist, 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.

The arguments interface-args will be passed through to themake-instance of the top-level interface, assuming that pane is not a top-level interface itself.

The complementary functioncontain usesmake-container to create a container for an element which it then displays.

Example

(capi:display (capi:make-container
                (make-instance
                 'capi:text-input-pane)))

See Also

contain
display
interface
element


CAPI Reference Manual, Liquid Common Lisp Version 5.0 - 3 OCT 1997

Generated with Harlequin WebMaker