Blob Blame History Raw
'\" t
...\" TxtFieBE.sgm /main/9 1996/09/08 21:15:46 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 "XmDataFieldSetSelection" "library call"
.SH "NAME"
\fBXmDataFieldSetSelection\fP \(em A DataField function that sets the primary selection of the text
.iX "XmDataFieldSetSelection"
.iX "DataField functions" "XmDataFieldSetSelection"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/DataF\&.h>
\fBvoid \fBXmDataFieldSetSelection\fP\fR(
\fBWidget \fBwidget\fR\fR,
\fBXmTextPosition \fBfirst\fR\fR,
\fBXmTextPosition \fBlast\fR\fR,
\fBTime \fBtime\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmDataFieldSetSelection\fP sets the primary selection of the text in
the widget\&.
It also sets the insertion cursor position to the last position of the
selection and calls the widget\&'s \fBXmNmotionVerifyCallback\fP callbacks\&.
\fBXmDataFieldSetSelection\fP always generates an
\fBXmNgainPrimaryCallback\fP
unless it fails to take ownership of the primary text selection\&.
.IP "\fIwidget\fP" 10
Specifies the DataField widget ID
.IP "\fIfirst\fP" 10
Marks the first character position of the text to be selected
.IP "\fIlast\fP" 10
Marks the last position of the text to be selected
.IP "\fItime\fP" 10
Specifies the time at which the selection value is desired\&. This should
be the same as the time of the event that triggered this
request\&. One source of a valid time stamp is the function
\fBXtLastTimestampProcessed\fP\&.
.PP
For a complete definition of DataField and its associated resources, see
\fBXmDataField\fP(3)\&.
.SH "RELATED"
.PP
\fBXmDataField\fP(3)\&.