Home Segments Index Top Previous Next

826: Mainline

In Chapter 32, you learned that, for Smalltalk Express, the createViews method, defined for a view manager, is used, when you start an application, to define the characteristics of the user interface.

In VisualWorks, the characteristics of the user interface are established by a windowSpec method defined for the application model. In contrast to the createViews method, which sends many messages, the windowSpec method sends no messages: instead, windowSpec answers a complex array that defines the characteristics of the user interface.

Although you learned that you can construct definitions of createViews by hand, you would find it impracticable to construct definitions of windowSpec by hand. You must construct the windowSpec method for an application by using VisualWorks GUI builder.