|
XmTextReplaceWcs(3) -- A Text function that replaces part of a wide character string in a Text widget
|
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 replacement would be to replace the second and third characters in the text string. To accomplish this, the from_pos parameter must be 1 and the to_pos parameter must be 3. To insert a string after the fo... |
XmTextScroll(3) -- A Text function that scrolls text
|
XmTextScroll scrolls text by a given number of lines in a Text widget. The sign of the number is interpreted according to the value of the XmNlayoutDirection resource. widget Specifies the Text widget ID lines Specifies the number of lines of text to scroll. A positive value causes text to scroll upward; a negative value causes text to scroll downward. Note that the text will scroll only as long a... |
|
XmTextSetAddMode(3) -- A Text function that sets the state of Add mode
|
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. widget Specifies the Text widget ID state Specifies whether or not the widget is in Add mode. A value of True turns on Add mode; a value of False turns off Add mode. For a complete definition of Text and its associated res... |
XmTextSetEditable(3) -- A Text function that sets the edit permission
|
XmTextSetEditable sets the edit permission state of the Text widget. When set to True, the text string can be edited. widget Specifies the Text widget ID editable Specifies a Boolean value that when True allows text string edits For a complete definition of Text and its associated resources, see XmText(3). |
XmTextSetHighlight(3) -- A Text function that highlights 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 text; it does not set the selection. widget Specifies the Text widget ID left Specifies the position of the left boundary of text to be highlighted. This is an integer number of characters from the be... |
XmTextSetInsertionPosition(3) -- A Text function that sets the position of the insert cursor
|
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. widget Specifies the Text widget ID position Specifies the position of the insertion cursor. This is an integer number of characters from the beginning of the text buffer. The first character position is ... |
XmTextSetMaxLength(3) -- A Text function that sets the value of the current maximum allowable length of a text string entered from the
|
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 keyboard that is larger than this limit. Strings that are entered using the XmNvalue (or XmNvalueWcs) resource, or the XmTextSetString (or XmTextSetStringWcs) function ignore this resource. widget Specif... |
XmTextSetSelection(3) -- A Text function that sets the primary selection of the text
|
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 XmNmotionVerifyCallback callbacks. widget Specifies the Text widget ID first Marks the first character position of the text to be selected last Marks the last position of the text to be selected time Specifies the time at ... |
XmTextSetSource(3) -- A Text function that sets the source of the widget
|
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 can share the source of another widget. Setting a new text source destroys the old text source if no other Text widgets are using that source. To replace a text source but keep it for later use, crea... |
XmTextSetString(3) -- A Text function that sets the string value
|
XmTextSetString sets the string value of the Text widget. This routine calls the widget's XmNvalueChangedCallback and verification callbacks, either XmNmodifyVerifyCallback or XmNmodifyVerifyCallbackWcs, or both. If both verification callback lists are registered, the procedures of the XmNmodifyVerifyCallback list are executed first and the resulting data is passed to the XmNmodifyVerifyCallbackW... |
XmTextSetStringWcs(3) -- A Text function that sets a wide character string value
|
XmTextSetStringWcs sets the wide character string value of the Text widget. This routine calls the widget's XmNvalueChangedCallback and verification callbacks, either XmNmodifyVerifyCallback or XmNmodifyVerifyCallbackWcs, or both. If both verification callback lists are registered, the procedures of the XmNmodifyVerifyCallback list are executed first and the resulting data is passed to the XmNmod... |
XmTextSetTopCharacter(3) -- A Text function that sets the position of the first character displayed
|
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 widget without the text shifting left or right. If the edit mode is XmSINGLE_LINE_EDIT, the text moves horizontally so that top_character is the first character displayed. widget Specifies the Text wi... |
XmTextShowPosition(3) -- A Text function that forces text at a given position to be displayed
|
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. widget Specifies the Text widget ID position Specifies the character position to be displayed. This is an integer number of characters from the beginning of the text buffer. The first character position is 0... |
XmTextXYToPos(3) -- A Text function that accesses the character position nearest an x and y position
|
XmTextXYToPos accesses the character position nearest to the specified x and y position, relative to the upper left corner of the Text widget. In the case of horizontal writing, the position is the origin of the character. In the case of vertical writing, the position is the vertical origin of the character. widget Specifies the Text widget ID x Specifies the x position, relative to the upper left... |
XmToggleButton(3) -- The ToggleButton widget class
|
ToggleButton sets nontransitory state data within an application. Usually this widget consists of an indicator (square, diamond, or round) with either text or a pixmap on one side of it. However, it can also consist of just text or a pixmap without the indicator. The toggle graphics display a 1-of-many, N-of-many, or 1-of-many-round selection state. When a toggle indicator is displayed, a square i... |