previous next contents
TEXT WIDGETS

static text - text which may not be edited by the user.

editable text - text which may be edited by the user.

XmNeditable - Text and TextField widget resource which specifies whether the displayed text in these widgets is editable.

Text widget - Motif widget which supports single or multiline display of text which may or may not be edited.

TextField widget - Motif widget similar to the Text widget except that only single line display of text is supported.

XmNeditMode - Text and TextField widget resource which specifies whether the display is single or multiline.

Text and TextField widgets support both multibyte strings and wide character strings.

The Text widget uses a single font or font set from a font list to display the text.

The widget argument to the Text convenience routines can be either a Text or a TextField widget.

XmNvalue - Text and TextField widget resource which represents the displayed text as a char*.

XmNvalueWcs - Text and TextField widget resource which represents the displayed text as a string of wchar_t's.

XmNmaxLength - Text and TextField widget resource which specifies the maximum length of the text string that the user can enter.

XmNwordWrap - Text and TextField widget resource which specifies whether lines are broken at word boundaries.

XmNfontList - Text and TextField widget resource which specifies the font or font list used to display the text.

XmNsource - Text and TextField widget resource which specifies the source of text for the widget.

XmTextSource - type of Text or TextField widget data structure that acts as the source and sink of text for the widget.

Callbacks are used by the widget to report (among other things) edit changes to the application.

All Text and TextField widget convenience routines that have parameters or return values that are strings have both char* and wchar_t* versions.


previous next contents