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

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

DXmCSTextXYToPos(3X)

Contents


NAME    [Toc]    [Back]

       DXmCSTextXYToPos - Retrieves (returns) the position in the
       text of the character nearest to a specified x and y position.

SYNOPSIS    [Toc]    [Back]

       DXmCSTextPosition DXmCSTextXYToPos(
               Widget widget,
               Position x,
               Position y );

PARAMETERS    [Toc]    [Back]

       The  identifier  (widget  ID)  of the compound string text
       widget.  The x coordinate relative to the upper left  corner
 of the widget.  The y coordinate relative to the upper
       left corner of the widget.

DESCRIPTION    [Toc]    [Back]

       The DXmCSTextXYToPos routine returns an integer that identifies
  the  position in the text of the character that is
       nearest to a specified x and y position.

RETURN VALUES    [Toc]    [Back]

       An integer that identifies the position of  the  character
       in  the text.  This integer represents the number of characters
 from the beginning of the text buffer, with 0 indicating
 the position of the first character.

SEE ALSO    [Toc]    [Back]

      
      
       DXmCSTextPosToXY(3X)



                                             DXmCSTextXYToPos(3X)
[ Back ]
 Similar pages
Name OS Title
DXmCSTextPosToXY Tru64 Retrieves (returns) the x and y position of a specified character in the text.
DXmCSTextGetLastPosition Tru64 Retrieves (returns) the logical position of the last character in the text.
DXmCSTextGetTopPosition Tru64 Retrieves (returns) the logical position of the first character in the displayed text.
XmTextXYToPos IRIX A Text function that accesses the character position nearest an x and y position
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
XmTextFieldXYToPos HP-UX A TextField function that accesses the character position nearest an x and y position
XmTextFieldXYToPos Tru64 A TextField function that accesses the character position nearest an x and y position
XmTextFieldXYToPos IRIX A TextField function that accesses the character position nearest an x and y position
DXmCSTextGetMaxLength Tru64 Retrieves (returns) current maximum allowable length of the text in the compound string text widget.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service