Blob Blame History Raw
'\" t
...\" TxtFieAL.sgm /main/8 1996/09/08 21:13:32 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 "XmDataFieldGetSelectionPosition" "library call"
.SH "NAME"
\fBXmDataFieldGetSelectionPosition\fP \(em A DataField function that accesses the position of the primary selection
.iX "XmDataFieldGetSelection\\%Position"
.iX "DataField functions" "XmDataFieldGetSelection\\%Position"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/DataF\&.h>
\fBBoolean \fBXmDataFieldGetSelectionPosition\fP\fR(
\fBWidget \fBwidget\fR\fR,
\fBXmTextPosition \fB*left\fR\fR,
\fBXmTextPosition \fB*right\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmDataFieldGetSelectionPosition\fP accesses the left and right position of
the primary selection in the text buffer of the DataField widget\&.
.IP "\fIwidget\fP" 10
Specifies the DataField widget ID
.IP "\fIleft\fP" 10
Specifies the pointer in which the position of the left boundary of the
primary selection is returned\&. This is an integer number of characters
from the beginning of the buffer\&. The first character position is 0 (zero)\&.
.IP "\fIright\fP" 10
Specifies the pointer in which the position of the right boundary of the
primary selection is returned\&. This is an integer number of characters
from the beginning of the buffer\&. The first character position is 0 (zero)\&.
.PP
For a complete definition of DataField and its associated resources, see
\fBXmDataField\fP(3)\&.
.SH "RETURN"
.PP
This function returns True if the widget owns the primary selection;
otherwise, it returns False\&.
.SH "RELATED"
.PP
\fBXmDataField\fP(3)\&.