1XmTextFieldSetSelection(library call)    XmTextFieldSetSelection(library call)
2
3
4

NAME

6       XmTextFieldSetSelection  —  A  TextField function that sets the primary
7       selection of the text
8

SYNOPSIS

10       #include <Xm/TextF.h>
11       void XmTextFieldSetSelection(
12       Widget widget,
13       XmTextPosition first,
14       XmTextPosition last,
15       Time time);
16

DESCRIPTION

18       XmTextFieldSetSelection sets the primary selection of the text  in  the
19       widget.   It  also sets the insertion cursor position to the last posi‐
20       tion of the selection and calls  the  widget's  XmNmotionVerifyCallback
21       callbacks.   XmTextFieldSetSelection  always generates an XmNgainPrima‐
22       ryCallback unless it fails to take ownership of the primary text selec‐
23       tion.
24
25       widget    Specifies the TextField widget ID
26
27       first     Marks the first character position of the text to be selected
28
29       last      Marks the last position of the text to be selected
30
31       time      Specifies  the  time at which the selection value is desired.
32                 This should be the same as the time of the event  that  trig‐
33                 gered  this  request. One source of a valid time stamp is the
34                 function XtLastTimestampProcessed.
35
36       For a complete definition of TextField and  its  associated  resources,
37       see XmTextField(3).
38
40       XmTextField(3).
41
42
43
44                                         XmTextFieldSetSelection(library call)
Impressum