In the context of this chapter, an interface refers to any single window which is used in an application. Thus, an editor, an Open File dialog, or a confirmer containing an error message are all examples of interfaces. The GUI for a complete application is liable to comprise many interfaces. You can load as many different interfaces into the Interface Builder as you like, although you can only work on one interface at once. More formally, the class
capi:interface is the superclass of all CAPI interface classes, which is the set of classes used to create elements for on-screen display. You can load any code which defines instances of this class and its subclasses into the Interface Builder.
Once you have invoked the Interface Builder, you can create new interfaces, or load any that have already been saved in a previous session. You must load or create at least one interface before you can proceed.
When you first start the Interface Builder, a new interface is created for you automatically. You can also choose File > New or click on to create a new interface. A blank window, known as the interface skeleton , appears on-screen, as shown in Skeleton window. The interface skeleton contains no layouts or panes, or menus.
You can use File > New to create as many interfaces as you want; they are all displayed as soon as you create them. Since you can only work on one interface at a time, use the History > Items submenu or the and toolbar buttons to switch between different interfaces that are currently loaded in the Interface Builder.
In the Interface Builder, choose File > Open... or click to load an existing interface. You can load any CAPI interface, whether it is one that you have designed using the Interface Builder, or one that has been hand-coded using the CAPI. You can load as many interfaces as you want, and then use the History > Items submenu to swap between the loaded interfaces when working on them.
Once you have chosen a suitable file, for example the LispWorks library file
examples/capi/buttons/buttons.lisp, a dialog appears listing all the interface definitions that have been found in the file, as shown in Choosing which interfaces to load into the Interface Builder. This lets you choose which interface definitions to load into the Interface Builder. By default, all the definitions are selected. You can select as many or as few of the listed interfaces as you like; the
buttons can help to speed your selection. Click
to cancel loading the interfaces altogether.
LispWorks IDE User Guide (Windows version) - 12 Feb 2015