Blame doc/man/man3/XmTextFindStringWcs.3

Packit b099d7
'\" t
Packit b099d7
...\" TxtFindB.sgm /main/9 1996/09/25 14:51:45 cdedoc $
Packit b099d7
.de P!
Packit b099d7
.fl
Packit b099d7
\!!1 setgray
Packit b099d7
.fl
Packit b099d7
\\&.\"
Packit b099d7
.fl
Packit b099d7
\!!0 setgray
Packit b099d7
.fl			\" force out current output buffer
Packit b099d7
\!!save /psv exch def currentpoint translate 0 0 moveto
Packit b099d7
\!!/showpage{}def
Packit b099d7
.fl			\" prolog
Packit b099d7
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
Packit b099d7
\!!psv restore
Packit b099d7
.
Packit b099d7
.de pF
Packit b099d7
.ie     ?\\*(f1?? .ds f1 \\n(.f
Packit b099d7
.el .ie ?\\*(f2?? .ds f2 \\n(.f
Packit b099d7
.el .ie ?\\*(f3?? .ds f3 \\n(.f
Packit b099d7
.el .ie ?\\*(f4?? .ds f4 \\n(.f
Packit b099d7
.el .tm ? font overflow
Packit b099d7
.ft \\$1
Packit b099d7
..
Packit b099d7
.de fP
Packit b099d7
.ie     !?\\*(f4?? \{\
Packit b099d7
.	ft \\*(f4
Packit b099d7
.	ds f4\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f3?? \{\
Packit b099d7
.	ft \\*(f3
Packit b099d7
.	ds f3\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f2?? \{\
Packit b099d7
.	ft \\*(f2
Packit b099d7
.	ds f2\"
Packit b099d7
'	br \}
Packit b099d7
.el .ie !?\\*(f1?? \{\
Packit b099d7
.	ft \\*(f1
Packit b099d7
.	ds f1\"
Packit b099d7
'	br \}
Packit b099d7
.el .tm ? font underflow
Packit b099d7
..
Packit b099d7
.ds f1\"
Packit b099d7
.ds f2\"
Packit b099d7
.ds f3\"
Packit b099d7
.ds f4\"
Packit b099d7
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
Packit b099d7
.TH "XmTextFindStringWcs" "library call"
Packit b099d7
.SH "NAME"
Packit b099d7
\fBXmTextFindStringWcs\fP \(em A Text function that finds the beginning
Packit b099d7
position of a wide character text string
Packit b099d7
.iX "XmTextFindStringWcs"
Packit b099d7
.iX "Text functions" "XmTextFindStringWcs"
Packit b099d7
.SH "SYNOPSIS"
Packit b099d7
.PP
Packit b099d7
.nf
Packit b099d7
#include <Xm/Text\&.h>
Packit b099d7
\fBBoolean \fBXmTextFindStringWcs\fP\fR(
Packit b099d7
\fBWidget \fBwidget\fR\fR,
Packit b099d7
\fBXmTextPosition \fBstart\fR\fR,
Packit b099d7
\fBwchar_t *\fBwcstring\fR\fR,
Packit b099d7
\fBXmTextDirection \fBdirection\fR\fR,
Packit b099d7
\fBXmTextPosition *\fBposition\fR\fR);
Packit b099d7
.fi
Packit b099d7
.SH "DESCRIPTION"
Packit b099d7
.PP
Packit b099d7
\fBXmTextFindStringWcs\fP locates the beginning position of a specified
Packit b099d7
wide character text string\&. This routine searches forward or backward
Packit b099d7
for the first occurrence of the string, starting from the given start
Packit b099d7
position\&.
Packit b099d7
If a match is found, the
Packit b099d7
function returns the position of the first character of the string
Packit b099d7
in \fIposition\fP\&.
Packit b099d7
If the match string begins at the current position, this routine returns the current position\&.
Packit b099d7
.IP "\fIwidget\fP" 10
Packit b099d7
Specifies the Text widget ID\&.
Packit b099d7
.IP "\fIstart\fP" 10
Packit b099d7
Specifies the character position from which the search proceeds\&. This
Packit b099d7
is an integer number of characters from the beginning of the text
Packit b099d7
buffer\&. The first character position is 0 (zero)\&.
Packit b099d7
.IP "\fIwcstring\fP" 10
Packit b099d7
Specifies the wide character search string\&.
Packit b099d7
.IP "\fIdirection\fP" 10
Packit b099d7
Indicates the search direction\&. It is relative to the primary direction
Packit b099d7
of the text\&. The possible values are
Packit b099d7
.RS
Packit b099d7
.IP "\fBXmTEXT_FORWARD\fP" 10
Packit b099d7
The search proceeds toward the end of the buffer\&.
Packit b099d7
.IP "\fBXmTEXT_BACKWARD\fP" 10
Packit b099d7
The search proceeds toward the beginning of the buffer\&.
Packit b099d7
.RE
Packit b099d7
.IP "\fIposition\fP" 10
Packit b099d7
Specifies the pointer in which the first character position
Packit b099d7
of the string match is returned\&.
Packit b099d7
This is an integer number of characters from the beginning of
Packit b099d7
the buffer\&. The first character position is 0 (zero)\&. If the function
Packit b099d7
returns False, this value is undefined\&.
Packit b099d7
.PP
Packit b099d7
For a complete definition of Text and its associated resources,
Packit b099d7
see \fBXmText\fP(3)\&.
Packit b099d7
.SH "RETURN"
Packit b099d7
.PP
Packit b099d7
Returns True if a string match is found; otherwise, returns False\&.
Packit b099d7
.SH "RELATED"
Packit b099d7
.PP
Packit b099d7
\fBXmText\fP(3) and \fBXmTextFindString\fP(3)\&.
Packit b099d7
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:35