All Manuals > CAPI User Guide > 7 Laying Out CAPI Panes

NextPrevUpTopContentsIndex

7.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.

The portable techniques are the use of dividers, switchable layouts and tab layouts. On Microsoft Windows, there is also Multiple-Document Interface (MDI).

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))

7.5.1 Switchable layouts

7.5.2 Tab layouts

7.5.3 Dividers and separators

7.5.4 Multiple-Document Interface (MDI)


CAPI User Guide (Unix version) - 30 Aug 2011

NextPrevUpTopContentsIndex