1XmTextSetSelection(library call) XmTextSetSelection(library call)
2
3
4
6 XmTextSetSelection — A Text function that sets the primary selection of
7 the text
8
10 #include <Xm/Text.h>
11 void XmTextSetSelection(
12 Widget widget,
13 XmTextPosition first,
14 XmTextPosition last,
15 Time time);
16
18 XmTextSetSelection sets the primary selection of the text in the wid‐
19 get. It also sets the insertion cursor position to the last position
20 of the selection and calls the widget's XmNmotionVerifyCallback call‐
21 backs.
22
23 widget Specifies the Text widget ID
24
25 first Marks the first character position of the text to be selected
26
27 last Marks the last position of the text to be selected
28
29 time Specifies the time at which the selection value is desired.
30 This should be the same as the time of the event that trig‐
31 gered this request. request. One source of a valid time
32 stamp is the function XtLastTimestampProcessed.
33
34 For a complete definition of Text and its associated resources, see
35 XmText(3).
36
38 XmText(3).
39
40
41
42 XmTextSetSelection(library call)