|
Xm/XmTextFieldReplace(o) -- A TextField function that replaces part of a text string
|
XmTextFieldReplace replaces part of the text string in the TextField 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 parameter from_pos must be 1 and to_pos must be 3. To insert a string after the fourth character, both parameters, from_pos and to_pos, must be 4. This routine calls the widget's XmNvalueChangedCall... |
Xm/XmTextFieldReplaceWcs(o) -- A TextField function that replaces part of a wide character string in a TextField widget
|
XmTextFieldReplaceWcs replaces part of the wide character string in the TextField 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 parameter from_pos must be 1 and to_pos must be 3. To insert a string after the fourth character, both parameters, from_pos and to_pos, must be 4. This routine calls the widget's XmNval... |
|
Xm/XmTextFieldSetAddMode(o) -- A TextField function that sets the state of Add Mode
|
XmTextFieldSetAddMode controls whether or not the TextField 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 TextField 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 TextField and its associated resources, see XmTextField(3X).... |
Xm/XmTextFieldSetEditable(o) -- A TextField function that sets the edit permission
|
XmTextFieldSetEditable sets the edit permission state of the TextField widget. When set to True, the text string can be edited. widget Specifies the TextField widget ID editable Specifies a Boolean value that when True allows text string edits For a complete definition of TextField and its associated resources, see XmTextField(3X). |
Xm/XmTextFieldSetHighlight(o) -- A TextField function that highlights text
|
XmTextFieldSetHighlight 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 TextField widget ID left Specifies the position of the left boundary of text to be highlighted. This is an integer number of characters from the beginning of the text buffer. The first character position is 0. right Specifies the positio... |
Xm/XmTextFieldSetInsertionPosition(o) -- A TextField function that sets the position of the insertion cursor
|
XmTextFieldSetInsertionPosition sets the insertion cursor position of the TextField widget. This routine also calls the widget's XmNmotionVerifyCallback callbacks if the insertion cursor position changes. widget Specifies the TextField widget ID position Specifies the position of the insert cursor. This is an integer number of characters from the beginning of the text buffer. The first character position is 0. For a complete definition of TextField and its associated resources, see XmTextField(... |
Xm/XmTextFieldSetMaxLength(o) -- A TextField function that sets the value of the current maximum allowable length of a text string entered from
|
XmTextFieldSetMaxLength sets the value of the current maximum allowable length of the text string in the TextField 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 XmTextFieldSetString (or XmTextFieldSetStringWcs) function ignore this resource. widget Specifies the TextField widget ID max_length Specifies the maximum allowable length of... |
Xm/XmTextFieldSetSelection(o) -- A TextField function that sets the primary selection of the text
|
XmTextFieldSetSelection 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 TextField 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 which the selection value is desired. This should be the same as the time of the event tha... |
Xm/XmTextFieldSetString(o) -- A TextField function that sets the string value
|
XmTextFieldSetString sets the string value of the TextField 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 XmNmodifyVerifyCallbackWcs callbacks. It also sets the insertion cursor position to the beginning of the string an... |
Xm/XmTextFieldSetStringWcs(o) -- A TextField function that sets a wide character string value
|
XmTextFieldSetStringWcs sets the wide character string value of the TextField 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 XmNmodifyVerifyCallbackWcs callbacks. It also sets the insertion cursor position to the beginnin... |
Xm/XmTextFieldShowPosition(o) -- A TextField function that forces text at a given position to be displayed
|
XmTextFieldShowPosition 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 TextField 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. For a complete definition of TextField and its associated resources, see XmTextField(3X)... |
Xm/XmTextFieldXYToPos(o) -- A TextField function that accesses the character position nearest an x and y position
|
XmTextFieldXYToPos accesses the character position nearest to the specified x and y position, relative to the upper left corner of the TextField widget. widget Specifies the TextField widget ID x Specifies the x position, relative to the upper left corner of the widget. y Specifies the y position, relative to the upper left corner of the widget. For a complete definition of TextField and its associated resources, see XmTextField(3X).... |
Xm/XmTextFindString(o) -- A Text function that finds the beginning position of a text string
|
XmTextFindString locates the beginning position of a specified text string. This routine searches forward or backward for the first occurrence of the string starting from the given start position. If it finds a match, the function returns the position of the first character of the string in position. widget Specifies the Text widget ID. start Specifies the character position from which the search proceeds. This is an integer number of characters from the beginning of the text buffer. The first c... |
Xm/XmTextFindStringWcs(o) -- A Text function that finds the beginning position of a wide character text string
|
XmTextFindStringWcs locates the beginning position of a specified wide character text string. This routine searches forward or backward for the first occurrence of the string, starting from the given start position. If a match is found, the function returns the position of the first character of the string in position. widget Specifies the Text widget ID. start Specifies the character position from which the search proceeds. This is an integer number of characters from the beginning of the text ... |
Xm/XmTextGetBaseline(o) -- A Text function that accesses thex position of the first baseline
|
XmTextGetBaseline accesses the x position of the first baseline in the Text widget, relative to the x position of the top of the widget. widget Specifies the Text widget ID For a complete definition of Text and its associated resources, see XmText(3X). |