'\" t .\" TxtFieBI.sgm /main/8 1996/09/08 21:16:18 rws $ .de P! .fl \!!1 setgray .fl \\&.\" .fl \!!0 setgray .fl \" force out current output buffer \!!save /psv exch def currentpoint translate 0 0 moveto \!!/showpage{}def .fl \" prolog .sy sed -e 's/^/!/' \\$1\" bring in postscript file \!!psv restore . .de pF .ie \\*(f1 .ds f1 \\n(.f .el .ie \\*(f2 .ds f2 \\n(.f .el .ie \\*(f3 .ds f3 \\n(.f .el .ie \\*(f4 .ds f4 \\n(.f .el .tm ? font overflow .ft \\$1 .. .de fP .ie !\\*(f4 \{\ . ft \\*(f4 . ds f4\" ' br \} .el .ie !\\*(f3 \{\ . ft \\*(f3 . ds f3\" ' br \} .el .ie !\\*(f2 \{\ . ft \\*(f2 . ds f2\" ' br \} .el .ie !\\*(f1 \{\ . ft \\*(f1 . ds f1\" ' br \} .el .tm ? font underflow .. .ds f1\" .ds f2\" .ds f3\" .ds f4\" .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n .TH "XmDataFieldXYToPos" 3 .SH "NAME" \fBXmDataFieldXYToPos\fP \(em A DataField function that accesses the character position nearest an x and y position "XmDataFieldXYToPos" "DataField functions" "XmDataFieldXYToPos" .SH "SYNOPSIS" .PP .nf #include \fBXmTextPosition \fBXmDataFieldXYToPos\fP\fR( \fBWidget \fBwidget\fR\fR, \fBPosition \fBx\fR\fR, \fBPosition \fBy\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmDataFieldXYToPos\fP accesses the character position nearest to the specified \fIx\fP and \fIy\fP position, relative to the upper left corner of the DataField widget\&. .IP "\fIwidget\fP" 10 Specifies the DataField widget ID .IP "\fIx\fP" 10 Specifies the \fIx\fP position, relative to the upper left corner of the widget\&. .IP "\fIy\fP" 10 Specifies the \fIy\fP position, relative to the upper left corner of the widget\&. .PP For a complete definition of DataField and its associated resources, see \fBXmDataField\fP(3)\&. .SH "RETURN" .PP Returns the character position in the text nearest the \fIx\fP and \fIy\fP position specified\&. This is an integer number of characters from the beginning of the buffer\&. The first character position is 0 (zero)\&. .SH "RELATED" .PP \fBXmDataField\fP(3)\&.