Next: Text Widget Creation Up: X WINDOWS Previous: User Defined Dialogs

Text Widgets

Motif provides two type of text widgets:

- a fully functional multiline windows based text editor.
- a single line text editor.

Editing of text is a major part of many applications. It is very useful that Motif provides such facilities - saving the programmer much time.

Note: Coupled with other advanced facilities such as FileSelection Widgets etc. we could easily assemble our own text editor application program.

We will study the Text Widget in detail as the TextField is basically a simpler version of this.

NOTE: We can make the actually make the Text Widget a single line type by setting the resource XmNeditMode to XmSINGLE_LINE_EDIT
Tue May 24 16:52:56 BST 1994