Motif provides two type of text widgets:
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