...\" ** (c) Copyright 1993, 1994 Hewlett-Packard Company ...\" ** (c) Copyright 1993, 1994 International Business Machines Corp. ...\" ** (c) Copyright 1993, 1994 Sun Microsystems, Inc. ...\" ** (c) Copyright 1993, 1994 Novell, Inc ...\" ** ...\" ** ...\" ** ...\" ** (c) Copyright 1989, 1990, 1992 by Open Software Foundation, Inc. ...\" ** All Rights Reserved. ...\" ** ...\" ** (c) Copyright 1987, 1988, 1989, by Hewlett-Packard Company ...\" ** ...\" ** (c) Copyright 1987, 1988 by Digital Equipment Corporation, ...\" ** Maynard, MA. All Rights Reserved. ...\" ** ...\" ** .TH XmTextFieldXYToPos 3X "" "" "" "" .ds )H Hewlett-Packard Company .ds ]W Motif Release 1.2: May 1992 .SH NAME \fIXmTextFieldXYToPos\fP \- A TextField function that accesses the character position nearest an x and y position .SH SYNOPSIS .nf .sS .iS \&#include .sp \n(PDu XmTextPosition XmTextFieldXYToPos (\fBwidget, x, y\fI) .ta .5i 1.5i .nf Widget \fBwidget\fI; Position \fBx\fI; Position \fBy\fI; .wH .fi .iE .sE .SH DESCRIPTION .fi \fIXmTextFieldXYToPos\fP accesses the character position nearest to the specified x and y position, relative to the upper left corner of the TextField widget. .IP "\fBwidget\fP" Specifies the TextField widget ID .IP "\fBx\fP" Specifies the x position, relative to the upper left corner of the widget. .IP "\fBy\fP" Specifies the y position, relative to the upper left corner of the widget. .PP .ne 4 For a complete definition of TextField and its associated resources, see \fIXmTextField(3X)\fP. .SH RETURN VALUE Returns the character position in the text nearest the x and y position specified. This is an integer number of characters from the beginning of the buffer. The first character position is 0. .SH RELATED INFORMATION .na \fIXmTextField(3X)\fP. .ad