The generic function
creates a container for a specified element.
This creates a container for
such that calling display on it will produce a window containing
on the screen. It will produce a container for any of the following classes of object:
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.
will be passed through to the
of the top-level interface, assuming that pane is not a top-level interface itself.
The complementary function contain uses
to create a container for an element which it then displays.
CAPI Reference Manual - 15 Dec 2011