XmTextPaste inserts the clipboard selection at the insertion cursor of the destination widget. If XmNpendingDelete is True and the insertion cursor is inside the current selection, the clipboard selec...
XmTextPosition is the data type for a character position within a text string. The text position is an integer representing the number of characters from the beginning of the string. The first charact...
XmTextPosToXY accesses the x and y position, relative to the upper left corner of the Text widget, of a given character position in the text buffer. Specifies the Text widget ID Specifies the characte...
XmTextRemove deletes the primary selected text. If there is a selection, this routine also calls the widget's XmNvalueChangedCallback and verification callbacks, either XmNmodifyVerifyCallback or XmN...
XmTextReplace replaces part of the text string in the Text widget. The character positions begin at zero and are numbered sequentially from the beginning of the text. An example text replacement would...
XmTextReplaceWcs replaces part of the wide character string in the Text widget. The character positions begin at zero and are numbered sequentially from the beginning of the text. An example text repl...
XmTextScroll scrolls text in a Text widget. Specifies the Text widget ID Specifies the number of lines of text to scroll. A positive value causes text to scroll upward; a negative value causes text to...
XmTextSetAddMode controls whether or not the Text widget is in Add Mode. When the widget is in Add Mode, the insert cursor can be moved without disturbing the primary selection. Specifies the Text wid...
XmTextSetEditable sets the edit permission state of the Text widget. When set to True, the text string can be edited. Specifies the Text widget ID Specifies a Boolean value that when True allows text ...
XmTextSetHighlight highlights text between the two specified character positions. The mode parameter determines the type of highlighting. Highlighting text merely changes the visual appearance of the ...
XmTextSetInsertionPosition sets the insertion cursor position of the Text widget. This routine also calls the widget's XmNmotionVerifyCallback callbacks if the insertion cursor position changes. Spec...
XmTextSetMaxLength sets the value of the current maximum allowable length of the text string in the Text widget. The maximum allowable length prevents the user from entering a text string from the key...
XmTextSetSelection sets the primary selection of the text in the widget. It also sets the insertion cursor position to the last position of the selection and calls the widget's XmNmotionVerifyCallbac...
XmTextSetSource sets the source of the Text widget. Text widgets can share sources of text so that editing in one widget is reflected in another. This function sets the source of one widget so that it...
XmTextSetString sets the string value of the Text widget. This routine calls the widget's XmNvalueChangedCallback and verification callbacks, either XmNmodifyVerifyCallback or XmNmodifyVerifyCallback...