GEOS SDK TechDocs
|
|
|
2 Using the GenPrimary
|
3.1 GenDisplayGroup
Many applications will need to have several similar user interface areas. For example, a word processor might have several documents open at once; each of these would need its own text area. GEOS provides a facility for this.
An application can have several GenDisplay objects, each of which must be a child of a GenDisplayGroup object. The user can then switch back and forth between the displays using the GenDisplayControl (which is usually a child of a "Window" menu). The switching is transparent to the application.
If the application uses one display for each document, it should use the Document Control objects to create the displays. The Document Control can automatically duplicate a resource containing a generic object tree headed by a GenDisplay and make that GenDisplay a child of the GenDisplayGroup each time a document is opened or created. For details, see the Documents Objects chapter.
GEOS SDK TechDocs
|
|
|
2 Using the GenPrimary
|
3.1 GenDisplayGroup