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...
XmTextSetStringWcs sets the wide character string value of the Text widget. This routine calls the widget's XmNvalueChangedCallback and verification callbacks, either XmNmodifyVerifyCallback or XmNmo...
XmTextSetTopCharacter sets the position of the text at the top of the Text widget. If the XmNeditMode is XmMULTI_LINE_EDIT, the line of text that contains top_character is displayed at the top of the ...
XmTextShowPosition forces text at the specified position to be displayed. If the XmNautoShowCursorPosition resource is True, the application should also set the insert cursor to this position. Specifi...
XmTextXYToPos accesses the character position nearest to the specified x and y position, relative to the upper left corner of the Text widget. Specifies the Text widget ID Specifies the x position, re...
ToggleButton sets nontransitory state data within an application. Usually this widget consists of an indicator (square or diamond) with either text or a pixmap on one side of it. However, it can also ...