*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> XmTextFindStringWcs (3X)              
Title
Content
Arch
Section
 

XmTextFindStringWcs(3X)

Contents


NAME    [Toc]    [Back]

       XmTextFindStringWcs  -  A  Text  function  that  finds the
       beginning position of a wide character text string

SYNOPSIS    [Toc]    [Back]

       #include <Xm/Text.h>

       Boolean  XmTextFindStringWcs  (widget,  start,   wcstring,
       direction, position)
               Widget widget;
               XmTextPosition start;
               wchar_t *wcstring;
               XmTextDirection direction;
               XmTextPosition *position;

DESCRIPTION    [Toc]    [Back]

       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.  Specifies  the
       Text  widget  ID.   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 character position is 0.  Specifies the wide character
  search string.  Indicates the search direction. It is
       relative to the primary direction of the text.  The possible
  values are: The search proceeds toward the end of the
       buffer.  The search proceeds toward the beginning  of  the
       buffer.   Specifies the pointer in which the first character
 position of the string match is returned. This  is  an
       integer  number  of  characters  from the beginning of the
       buffer. The first character position is 0.  If  the  function
 returns False, this value is undefined.

       For  a  complete  definition  of  Text  and its associated
       resources, see XmText(3X).

RETURN VALUE    [Toc]    [Back]

       Returns True  if  a  string  match  is  found;  otherwise,
       returns False.

SEE ALSO    [Toc]    [Back]

      
      
       XmText(3X), XmTextFindString(3X)



                                          XmTextFindStringWcs(3X)
[ Back ]
 Similar pages
Name OS Title
XmTextFindString Tru64 A Text function that finds the beginning position of a text string
XmTextFindString IRIX A Text function that finds the beginning position of a text string
XmTextFindString HP-UX A Text function that finds the beginning position of a text string
XmTextReplaceWcs HP-UX A Text function that replaces part of a wide character string in a Text widget
XmTextGetStringWcs Tru64 A Text function that retrieves a copy of the wide character string value of a Text widget
XmTextReplaceWcs Tru64 A Text function that replaces part of a wide character string in a Text widget
XmTextGetStringWcs IRIX A Text function that retrieves a copy of the wide character string value of a Text widget
XmTextReplaceWcs IRIX A Text function that replaces part of a wide character string in a Text widget
XmTextGetStringWcs HP-UX A Text function that retrieves a copy of the wide character string value of a Text widget
XmTextInsertWcs IRIX A Text function that inserts a wide character string into a Text widget
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service