This section details all the various data structures required to set up and display various menus, windows etc under the Pointer Environment.
In a Pointer Environment program the details of size, position and contents of its window are stored in ram in a structure called Window Working Definition. A typical window can be resized or turned into a button, in which case the contents of the Working Definition will have to be redefined. To enable this to happen the structure Window Definition is used. This contains details of all the possible forms of window. The form is as follows:
A Working Definition is produced by using wm_setup with one parameter indicating which of the repeated sections applies and another pointing to the Window Definition.
The forms of both the Window Definition and the Window Working Definition are similar, but there are three significant differences.
Note that this page doesn't discuss the parts of the working definition which is set up internally when you call wm_setup, for example. The discussion consists of what a programmer would have to define in his or her source code.