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



Chapter 9. Handling Textual Data

You will probably not find too many reasons to write your own text widget. After all, the standard Motif widget set already provides a variety of editable and noneditable text widgets. However, even if you do not write a text widget, you may end up writing a widget that contains a textual component. For example, perhaps the widget you are writing will display a caption or a title.

This chapter explains how to handle text in Motif widgets. In particular, this chapter will explore the following topics:

  1. The recommended resources for handling text in a Motif widget

  2. The XmQTaccessTextual trait

  3. The Xme functions that are useful for manipulating textual data

    For demonstration purposes, the following subsections examine the ExmString widget.


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