...\" ** (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 XmTextFieldPosToXY 3X "" "" "" "" .ds )H Hewlett-Packard Company .ds ]W Motif Release 1.2: May 1992 .SH NAME \fIXmTextFieldPosToXY\fP \- A TextField function that accesses the x and y position of a character position .SH SYNOPSIS .nf .sS .iS \&#include .sp \n(PDu Boolean XmTextFieldPosToXY (\fBwidget, position, x, y\fI) .ta .5i 1.5i .nf Widget \fBwidget\fI; XmTextPosition \fBposition\fI; Position \fB*x\fI; Position \fB*y\fI; .wH .fi .iE .sE .SH DESCRIPTION .fi \fIXmTextFieldPosToXY\fP accesses the x and y position, relative to the upper left corner of the TextField widget, of a given character position in the text buffer. .IP "\fBwidget\fP" Specifies the TextField widget ID .IP "\fBposition\fP" Specifies the character position in the text for which the x and y position is accessed. This is an integer number of characters from the beginning of the buffer. The first character position is 0. .nL .ne 10 .IP "\fBx\fP" Specifies the pointer in which the x position, relative to the upper left corner of the widget, is returned. This value is meaningful only if the function returns True. .IP "\fBy\fP" Specifies the pointer in which the y position, relative to the upper left corner of the widget, is returned. This value is meaningful only if the function returns True. .PP For a complete definition of TextField and its associated resources, see \fIXmTextField(3X)\fP. .SH RETURN VALUE This function returns True if the character position is displayed in the TextField widget; otherwise, it returns False, and no \fBx\fP or \fBy\fP value is returned. .SH RELATED INFORMATION .na \fIXmTextField(3X)\fP. .ad