A list of pane specifications. The panes become the items in the layout.
A controller for the layout, which can make multiple
docking-layouts work together.
A boolean allowing a visible edge around the layout.
is non-nil, it must be a controller object as returned by a call to make-docking-layout-controller. In this case the
docking-layout is one of a group of
docking-layouts which share that same controller, known as the Docking Group. The panes that can be docked and undocked are shared between the members of the Docking Group. If
nil (the default value), the
docking-layout is in a Docking Group of one.
is dockable in a Docking Group when it is an item of any member of the Docking Group. This is the case when it is one of the
make-instance for some member of the group, or it has been set in some member by
(setf docking-layout-items). The user can dock and undock
in any member of the Docking Group. You can change the dockable status of panes programmatically by
(setf docking-layout-items). You can query a pane's docked and visible status in a
docking-layout by docking-layout-pane-docked-p and docking-layout-pane-visible-p. You can change a pane's docked and visible status in a
(setf docking-layout-pane-docked-p) and
is a list of pane specifications. Each specification in the list is either an atom denoting a pane, or a list wherein the
cl:car is an object denoting a pane and the
cl:cdr is a plist of options and values. The object denoting the pane can be:
docking-layout. The value in that slot, which must be a pane, is used. Typically the slot name is defined in the
:layoutsclass option in the define-interface form.
make-instanceto the list. Note that in this case the list cannot be the item in the items list, because it would be wrongly interpreted as a list wherein the car denotes a pane directly and the cdr is a plist of options and values.
A boolean specifying whether the pane should be docked. The default value is
t. When a pane is not docked and is visible, it is displayed in its own window.
A boolean specifying whether the pane is visible. The default value is
is a function of two arguments with a boolean return value. When the user attempts to dock a pane
is called with the
. If it returns
is not docked. If it returns true,
is docked. The default behavior is that all panes under the controller which is the
docking-layout, and only these panes, can be docked.
, if non-nil, is a function of three arguments: the
docking-layout, the pane and a boolean. This third argument is
t when the pane is docked, and
nil when the pane is undocked. The default value of
CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017