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



Convenience Routines

Text convenience routines permit the application to perform many functions, including these:

  1. Insert and replace text.

  2. Cut, copy, and paste by using the clipboard.

  3. Get and set the editable state, the insertion cursor position, the maximum length of text, the primary selection and its position, the source, the text string, and the position of the first character displayed. For Text and TextField, all routines that have parameters or return values that are strings have both char * and wchar_t * versions.

  4. Convert between a text position and x and y coordinates.

  5. Display text at a given position and scroll the text.

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