1XmTextFindStringWcs(library call)            XmTextFindStringWcs(library call)
2
3
4

NAME

6       XmTextFindStringWcs — A Text function that finds the beginning position
7       of a wide character text string
8

SYNOPSIS

10       #include <Xm/Text.h>
11       Boolean XmTextFindStringWcs(
12       Widget widget,
13       XmTextPosition start,
14       wchar_t *wcstring,
15       XmTextDirection direction,
16       XmTextPosition *position);
17

DESCRIPTION

19       XmTextFindStringWcs locates the beginning position of a specified  wide
20       character  text  string.  This routine searches forward or backward for
21       the first occurrence of the string, starting from the given start posi‐
22       tion.   If  a  match is found, the function returns the position of the
23       first character of the string in position.  If the match string  begins
24       at the current position, this routine returns the current position.
25
26       widget    Specifies the Text widget ID.
27
28       start     Specifies  the  character position from which the search pro‐
29                 ceeds. This is an  integer  number  of  characters  from  the
30                 beginning of the text buffer. The first character position is
31                 0 (zero).
32
33       wcstring  Specifies the wide character search string.
34
35       direction Indicates the search direction. It is relative to the primary
36                 direction of the text. The possible values are
37
38                 XmTEXT_FORWARD
39                           The search proceeds toward the end of the buffer.
40
41                 XmTEXT_BACKWARD
42                           The  search  proceeds  toward  the beginning of the
43                           buffer.
44
45       position  Specifies the pointer in which the first  character  position
46                 of  the  string match is returned.  This is an integer number
47                 of characters from the beginning of  the  buffer.  The  first
48                 character  position  is  0  (zero).  If  the function returns
49                 False, this value is undefined.
50
51       For a complete definition of Text and  its  associated  resources,  see
52       XmText(3).
53

RETURN

55       Returns True if a string match is found; otherwise, returns False.
56
58       XmText(3) and XmTextFindString(3).
59
60
61
62                                             XmTextFindStringWcs(library call)
Impressum