'\" t .\" TxtSetSA.sgm /main/8 1996/09/08 21:20:02 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 "XmTextSetSelection" 3 .SH "NAME" \fBXmTextSetSelection\fP \(em A Text function that sets the primary selection of the text "XmTextSetSelection" "Text functions" "XmTextSetSelection" .SH "SYNOPSIS" .PP .nf #include \fBvoid \fBXmTextSetSelection\fP\fR( \fBWidget \fBwidget\fR\fR, \fBXmTextPosition \fBfirst\fR\fR, \fBXmTextPosition \fBlast\fR\fR, \fBTime \fBtime\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmTextSetSelection\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\&. .IP "\fIwidget\fP" 10 Specifies the Text 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\&. request\&. One source of a valid time stamp is the function \fBXtLastTimestampProcessed\fP\&. .PP For a complete definition of Text and its associated resources, see \fBXmText\fP(3)\&. .SH "RELATED" .PP \fBXmText\fP(3)\&. .\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:36