|
Xm/XmTextGetLastPosition(o) -- A Text function that accesses the last position in the text
|
XmTextGetLastPosition accesses the last position in the text buffer of the Text widget. This is an integer number of characters from the beginning of the buffer, and represents the position following which text that is added to the end of the buffer is placed. The first character position is 0. The last character position is equal to the number of characters in the text buffer. widget Specifies the Text widget ID For a complete definition of Text and its associated resources, see XmText(3X).... |
Xm/XmTextGetMaxLength(o) -- A Text function that accesses the value of the current maximum allowable length of a text string entered from
|
XmTextGetMaxLength accesses the value of the current maximum allowable length of the text string in the Text widget entered from the keyboard. The maximum allowable length prevents the user from entering a text string larger than this limit. widget Specifies the Text widget ID For a complete definition of Text and its associated resources, see XmText(3X). |
Xm/XmTextGetSelection(o) -- A Text function that retrieves the value of the primary selection
|
XmTextGetSelection retrieves the value of the primary selection. It returns a NULL pointer if no text is selected in the widget. The application is responsible for freeing the storage associated with the string by calling XtFree. widget Specifies the Text widget ID For a complete definition of Text and its associated resources, see XmText(3X). |
Xm/XmTextGetSelectionPosition(o) -- A Text function that accesses the position of the primary selection
|
XmTextGetSelectionPosition accesses the left and right position of the primary selection in the text buffer of the Text widget. widget Specifies the Text widget ID left Specifies the pointer in which the position of the left boundary of the primary selection is returned. This is an integer number of characters from the beginning of the buffer. The first character position is 0. right Specifies the pointer in which the position of the right boundary of the primary selection is returned. This is a... |
Xm/XmTextGetSelectionWcs(o) -- A Text function that retrieves the value of a wide character encoded primary selection
|
XmTextGetSelectionWcs retrieves the value of the primary selection that is encoded in a wide character format. It returns a NULL pointer if no text is selected in the widget. The application is responsible for freeing the storage associated with the wide character buffer by calling XtFree. widget Specifies the Text widget ID For a complete definition of Text and its associated resources, see XmText(3X).... |
Xm/XmTextGetSource(o) -- A Text function that accesses the source of the widget
|
XmTextGetSource accesses 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 accesses the source of one widget so that it can be made the source of another widget, using the function XmTextSetSource(3X). 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, create an unmanaged Text widget and set its source to ... |
Xm/XmTextGetString(o) -- A Text function that accesses the string value
|
XmTextGetString accesses the string value of the Text widget. The application is responsible for freeing the storage associated with the string by calling XtFree. widget Specifies the Text widget ID For a complete definition of Text and its associated resources, see XmText(3X). |
Xm/XmTextGetStringWcs(o) -- A Text function that retrieves a copy of the wide character string value of a Text widget
|
XmTextGetStringWcs retrieves a copy of the wide character string value of the Text widget. The application is responsible for freeing the storage associated with the string by calling XtFree. widget Specifies the Text widget ID For a complete definition of Text and its associated resources, see XmText(3X). |
Xm/XmTextGetSubstring(o) -- A Text function that retrieves a copy of a portion of the internal text buffer
|
XmTextGetSubstring retrieves a copy of a portion of the internal text buffer of a Text widget. The function copies a specified number of characters from a given start position in the internal text buffer into a buffer provided by the application. A NULL terminator is placed at the end of the copied data. The size of the required buffer depends on the maximum number of bytes per character (MB_CUR_MAX) for the current locale. MB_CUR_MAX is a macro defined in stdlib.h. The buffer should be large en... |
Xm/XmTextGetSubstringWcs(o) -- A Text function that retrieves a portion of a wide character internal text buffer
|
XmTextGetSubstringWcs retrieves a copy of a portion of the internal text buffer of a Text widget that is stored in a wide character format. The function copies a specified number of characters from a given start position in the internal text buffer into a buffer provided by the application. A NULL terminator is placed at the end of the copied data. widget Specifies the Text widget ID. start Specifies the beginning character position from which the data will be retrieved. This is an integer numbe... |
Xm/XmTextGetTopCharacter(o) -- A Text function that accesses the position of the first character displayed
|
XmTextGetTopCharacter accesses the position of the text at the top of the Text widget. widget Specifies the Text widget ID For a complete definition of Text and its associated resources, see XmText(3X). |
Xm/XmTextInsert(o) -- A Text function that inserts a character string into a text string
|
XmTextInsert inserts a character string into the text string in the Text widget. The character positions begin at zero and are numbered sequentially from the beginning of the text. For example, to insert a string after the fourth character, the parameter position must be 4. 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... |
Xm/XmTextInsertWcs(o) -- A Text function that inserts a wide character string into a Text widget
|
XmTextInsertWcs inserts a wide character string into the Text widget at a specified location. The character positions begin at zero and are numbered sequentially from the beginning of the text. For example, to insert a string after the fourth character, the position parameter must be 4. This routine calls the widget's XmNvalueChangedCallback and verification callbacks, either XmNmodifyVerifyCallback or XmNmodifyVerifyCallbackWcs, or both. If both verification callback lists are registered, the ... |