1XmTextFieldGetSelectionPosition(liXbmrTaerxytFciaellld)GetSelectionPosition(library call)
2
3
4
6 XmTextFieldGetSelectionPosition — A TextField function that accesses
7 the position of the primary selection
8
10 #include <Xm/TextF.h>
11 Boolean XmTextFieldGetSelectionPosition(
12 Widget widget,
13 XmTextPosition *left,
14 XmTextPosition *right);
15
17 XmTextFieldGetSelectionPosition accesses the left and right position of
18 the primary selection in the text buffer of the TextField widget.
19
20 widget Specifies the TextField widget ID
21
22 left Specifies the pointer in which the position of the left
23 boundary of the primary selection is returned. This is an
24 integer number of characters from the beginning of the buf‐
25 fer. The first character position is 0 (zero).
26
27 right Specifies the pointer in which the position of the right
28 boundary of the primary selection is returned. This is an
29 integer number of characters from the beginning of the buf‐
30 fer. The first character position is 0 (zero).
31
32 For a complete definition of TextField and its associated resources,
33 see XmTextField(3).
34
36 This function returns True if the widget owns the primary selection;
37 otherwise, it returns False.
38
40 XmTextField(3).
41
42
43
44 XmTextFieldGetSelectionPosition(library call)