14.2 Creating an interface layout

14.2.5 Creating different views

If you are familiar with other tools in the Common LispWorks environment, you know the importance of different views for an individual tool. The interface builder itself provides separate views for looking at the layouts, the menu system, and the code produced for each interface. You can achieve this in your own applications by adding several layouts as the direct children of the interface itself (such that the layouts themselves are siblings).

By default, the first layout created is the default view for the interface. By specifying, elsewhere in the interface, callbacks which display the other layouts, you can design a mechanism which allows you to switch between views, within the same interface. This is how all the tools in the Common LispWorks environment have been designed; the callbacks specified for menu items in the View menu allow different layouts to be displayed within the same interface.

Common LispWorks User Guide, Liquid Common Lisp Version 5.0 - 18 OCT 1996

Generated with Harlequin WebMaker