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



Document Usage

This guide is organized into two parts. Part 1, covering Chapters 1 through 15, is a programmer's guide. The chapters are arranged as follows:

  1. Chapter 1 explains the software and prerequisite knowledge you will need in order to write a Motif widget.

  2. Chapter 2 takes you step by step through the mechanics of creating a Motif widget in the C language. This chapter also includes information on writing multithread-safe widgets.

  3. Chapter 3 details how to write the class record for a Motif primitive widget.

  4. Chapter 4 details how to write the class record for a Motif manager widget.

  5. Chapter 5 explains how to use traits.

  6. Chapter 6 describes how to create resources and synthetic resources.

  7. Chapter 7 explains how to set up translations and actions and explains several important action routines of Primitive and Manager.

  8. Chapter 8 explains how to use the Xme widget-writing routines.

  9. Chapter 9 describes how to handle textual data.

  10. Chapter 10 describes the Uniform Transfer Method (UTM) for transferring data between widgets.

  11. Chapter 11 explains how to write a Motif button widget.

  12. Chapter 12 describes geometry management.

  13. Chapter 13 details how to write a Motif widget in C++.

  14. Chapter 14 explains how to extend UIL to interpret your new Motif widgets.

  15. Chapter 15 describes miscellaneous features of Motif widget writing such as internationalization.

  16. Chapter 16 discusses widget printing.

    Part 2 of the guide includes Chapters 17 through 19. This part consists of pure reference documentation categorized as follows:

    1. Chapter 17 details all the Xme widget-writer routines.

    2. Chapter 18 details all Motif traits and trait methods.

    3. Chapter 19 details all the Exm demonstration widgets that we are providing to serve as good examples of small Motif widgets.

    4. Multithread Safety of Code Examples

      The code examples that appear throughout this manual are not guaranteed to be multithread-safe.


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