[ Previous | Next | Contents | Glossary | Home | Search ]
Motif 2.1 Widget Writer's Guide



Chapter 4. The Widget Class Record of Manager Widgets

This chapter explains how to write a class record for subclasses of the XmManager widget. As shown in Figure 3, the manager widgets you write will descend from the Core, Composite, Constraint, and XmManager widgets.

Figure 3. Class Hierarchy of Manager Widgets.




View figure.

Therefore, the class record of a manager widget must consist of:

  1. All 32 fields from the Core widget

  2. All 5 fields from the Composite widget

  3. Optionally, the fields of the extension record of the Composite widget

  4. All 7 fields from the Constraints widget

  5. Optionally, the fields of the extension record of the Constraint widget

  6. All 7 fields from the XmManager widget

  7. Optionally, the fields of the extension record of the XmManager widget

  8. All the fields unique to your own manager widget

    This chapter details all these fields from a Motif widget writer's perspective. In addition, this chapter describes the data members of XmManager that are accessible to your widget.


  9. [ Previous | Next | Contents | Glossary | Home | Search ]