The interface builder lets you construct graphical user interfaces (GUIs) for your applications. You design and test each window or dialog in your application, and the interface builder generates the necessary source code to create the windows you have designed; all you need to do is add callbacks to the generated code so that your own source code is utilized.
As you create each window, it is automatically displayed and updated on-screen, so that you can see what you are designing without having to type in, evaluate, or compile large sections of source code.
As well as making code development significantly faster, the interface builder allows you to try out different GUI designs, making it easier to ensure that the final design best suits your users' needs.
The interface builder has three views to let you design an interface.
Like the debugger tool, the interface builder also has its own menu bar, containing commands that let you work with a loaded interface, or any of its components.
To create an interface builder, choose Tools > Interface Builder from the podium.
Figure 15.1 The interface builder
Because the interface builder generates source code which uses the CAPI library, this chapter assumes at least a minimum knowledge of the CAPI. See the Guide to the CAPI and the CAPI Reference Manual for details.
A complete example showing you how to use the interface builder to design an interface, and how to integrate the design with your own code, is given in Example: Using The Interface Builder. You are strongly advised to work through this example after reading this chapter, or in conjunction with it.