![]() |
![]()
| ![]() |
![]()
NAMEXmTextFindString — A Text function that finds the beginning position of a text string SYNOPSIS#include <Xm/Xm.h> Boolean XmTextFindString( Widget widget, XmTextPosition start, char *string, XmTextDirection direction, XmTextPosition *position); DESCRIPTIONXmTextFindString 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.
For a complete definition of Text and its associated resources, see XmText(3). RETURNReturns True if a string match is found; otherwise, returns False. RELATEDXmText(3) and XmTextFindStringWcs(3).
|