|
Xm/XmTextFieldGetMaxLength(o) -- A TextField function that accesses the value of the current maximum allowable length of a text string entered
|
XmTextFieldGetMaxLength accesses the value of the current maximum allowable length of the text string in the TextField widget entered from the keyboard. The maximum allowable length prevents the user from entering a text string larger than this limit. widget Specifies the TextField widget ID For a complete definition of TextField and its associated resources, see XmTextField(3X). |
Xm/XmTextFieldGetSelection(o) -- A TextField function that retrieves the value of the primary selection
|
XmTextFieldGetSelection 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 TextField widget ID For a complete definition of TextField and its associated resources, see XmTextField(3X). |
Xm/XmTextFieldGetSelectionPosition(o) -- A TextField function that accesses the position of the primary selection
|
XmTextFieldGetSelectionPosition accesses the left and right position of the primary selection in the text buffer of the TextField widget. widget Specifies the TextField 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 retu... |
Xm/XmTextFieldGetSelectionWcs(o) -- A TextField function that retrieves the value of a wide character encoded primary selection
|
XmTextFieldGetSelectionWcs retrieves the value of the primary selection, 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 TextField widget ID For a complete definition of TextField and its associated resources, see XmTextField(3X).... |
Xm/XmTextFieldGetString(o) -- A TextField function that accesses the string value
|
XmTextFieldGetString accesses the string value of the TextField widget. The application is responsible for freeing the storage associated with the string by calling XtFree. widget Specifies the TextField widget ID For a complete definition of TextField and its associated resources, see XmTextField(3X). |
Xm/XmTextFieldGetStringWcs(o) -- A TextField function that retrieves a copy of the wide character string value of a TextField widget
|
XmTextFieldGetStringWcs retrieves a copy of the wide character string value of the TextField widget. The application is responsible for freeing the storage associated with the string by calling XtFree. widget Specifies the TextField widget ID For a complete definition of TextField and its associated resources, see XmTextField(3X). |
Xm/XmTextFieldGetSubstring(o) -- A TextField function that retrieves a copy of a portion of the internal text buffer
|
XmTextFieldGetSubstring retrieves a copy of a portion of the internal text buffer of a TextField 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 b... |
Xm/XmTextFieldGetSubstringWcs(o) -- A TextField function that retrieves a a portion of a wide character internal text buffer
|
XmTextFieldGetSubstringWcs retrieves a copy of a portion of the internal text buffer of a TextField 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 TextField widget ID. start Specifies the beginning character position from which the data will be retrieved. This is a... |
Xm/XmTextFieldInsert(o) -- A TextField function that inserts a character string into a text string
|
XmTextFieldInsert inserts a character string into the text string in the TextField 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 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 pro... |
Xm/XmTextFieldInsertWcs(o) -- A TextField function that inserts a wide character string into a TextField widget
|
XmTextFieldInsertWcs inserts a wide character string into the TextField 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 regist... |
Xm/XmTextFieldPaste(o) -- A TextField function that inserts the clipboard selection
|
XmTextFieldPaste 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 selection replaces the selected text. 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... |
Xm/XmTextFieldPosToXY(o) -- A TextField function that accesses the x and y position of a character position
|
XmTextFieldPosToXY accesses the x and y position, relative to the upper left corner of the TextField widget, of a given character position in the text buffer. widget Specifies the TextField widget ID position Specifies the character position in the text for which the x and y position is accessed. This is an integer number of characters from the beginning of the buffer. The first character position is 0. x Specifies the pointer in which the x position, relative to the upper left corner of the wid... |
Xm/XmTextFieldRemove(o) -- A TextField function that deletes the primary selection
|
XmTextFieldRemove deletes the primary selected text. If there is a selection, this routine also 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 XmNmodifyVerifyCallbackWcs callbacks. widget Specifies the TextField widget ID. For a complete defi... |