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



Text and TextField

The Text widget displays and, optionally, edits text. When the widget is editable and the user presses a key that represents a text character, that character is inserted into the text. Other translations and actions allow the user to navigate or to select, cut, copy, paste, or scroll the text.

The Text widget is used to edit simple text, which can only use a single font or fontset. The TextField widget is a text editor optimized for editing a single line of text. It also only uses simple text. This widget is largely used for entering commands and filenames.

For more information on Text and TextField, see Chapter 10.


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