5 Laying Out CAPI Panes

5.5 Advanced Pane Layouts

Until now you have used layouts for CAPI elements in which the constituents were displayed in fixed positions set out by the CAPI. In this chapter we will be looking at a number of ways in which users can select the layout and display of CAPI elements in an interface once an instance of the interface has been displayed, through the use of dividers, switchable layouts and tab layouts. Throughout this section we will be using three predefined panes, which you should define before proceeding.

(setq red-pane (make-instance 'output-pane
                               :background :red))

(setq green-pane (make-instance 'output-pane :background :green))

(setq blue-pane (make-instance 'output-pane :background :blue))

5.5.1 - Switchable layouts
5.5.2 - Tab layouts
5.5.3 - Dividers

CAPI User Guide, Liquid Common Lisp Version 5.0 - 2 OCT 1997

Generated with Harlequin WebMaker