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

  man pages->HP-UX 11i man pages -> XmTextPosition (3)              
Title
Content
Arch
Section
 

Contents


 XmTextPosition(library call)                   XmTextPosition(library call)




 NAME    [Toc]    [Back]
      XmTextPosition - Data type for a character position within a text
      string

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/Xm.h>

 DESCRIPTION    [Toc]    [Back]
      XmTextPosition is an integer data type that holds a character's
      position within a text string for Text and TextField.

      An XmTextPosition value conceptually points to the gap between two
      characters.  For example, consider a text string consisting of N
      characters.  A value of 0 refers to the position immediately prior to
      the first character.  A value of 1 refers to the position in between
      the first and second characters.  A value of N refers to the position
      immediately following the last character. Therefore, the text string
      of N characters actually contains N + 1 positions.

 RELATED    [Toc]    [Back]
      XmText(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmTextFindStringWcs HP-UX A Text function that finds the beginning position of a wide character text string
XmTextFindStringWcs Tru64 A Text function that finds the beginning position of a wide character text string
XmTextFindStringWcs IRIX A Text function that finds the beginning position of a wide character text string
atoi Tru64 Convert a character string to the specified integer data type
strtoul Tru64 Convert a character string to the specified integer data type
strtol Tru64 Convert a character string to the specified integer data type
atol Tru64 Convert a character string to the specified integer data type
XmTextXYToPos Tru64 A Text function that accesses the character position nearest an x and y position
XmTextXYToPos HP-UX A Text function that accesses the character position nearest an x and y position
XmTextXYToPos IRIX A Text function that accesses the character position nearest an x and y position
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service