|
XmTextFindString(3) -- 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. If the match string begins at the current position, this routine returns the current position. wid... |
XmTextFindStringWcs(3) -- 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. If the match string begins at the current position, this routine returns the cu... |
XmTextGetBaseline(3) -- A Text function that accesses the y position of the baseline
|
XmTextGetBaseline accesses the y position of the baseline in the Text widget, relative to the y position of the top of the widget. In vertical mode (when the XmNlayoutDirection resource is XmTOP_TO_BOTTOM) this function returns 0 and the program should use XmTextGetCenterline widget Specifies the Text widget ID For a complete definition of Text and its associated resources, see XmText(3). |
XmTextGetCenterline(3) -- Return the height (length) of a character string when the writing direction is vertical
|
XmTextGetCenterline accesses the x position of the centerline in the Text widget, relative to the x position of the top of the widget. widget Specifies the Text widget ID. |
XmTextGetEditable(3) -- A Text function that accesses the edit permission state
|
XmTextGetEditable accesses the edit permission state of the Text widget. widget Specifies the Text widget ID For a complete definition of Text and its associated resources, see XmText(3). |
XmTextGetInsertionPosition(3) -- A Text function that accesses the position of the insert cursor
|
XmTextGetInsertionPosition accesses the insertion cursor position of the Text widget. widget Specifies the Text widget ID For a complete definition of Text and its associated resources, see XmText(3). |
XmTextGetLastPosition(3) -- 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 that text added to the end of the buffer is placed after. The first character position is 0 (zero). The last character position is equal to the number of characters in the text buffer. widget Specifies the Text... |
XmTextGetMaxLength(3) -- 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. Note that the maximum allowable length is the same as the value of the widget's XmNmaxLength resource. widget Specifies the Text widget ID For a complete def... |
XmTextGetSelection(3) -- 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(3). |
XmTextGetSelectionPosition(3) -- 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 (zero). right Specif... |
XmTextGetSelectionWcs(3) -- 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 XmTex... |
XmTextGetSource(3) -- 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(3). Setting a new text source destroys the old text source if no other Text widgets are using that source. To repl... |
XmTextGetString(3) -- 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(3). |