1XmDataFieldGetSelectionPosition(liXbmrDaartyaFciaellld)GetSelectionPosition(library call)
2
3
4

NAME

6       XmDataFieldGetSelectionPosition  —  A  DataField function that accesses
7       the position of the primary selection
8

SYNOPSIS

10       #include <Xm/DataF.h>
11       Boolean XmDataFieldGetSelectionPosition(
12       Widget widget,
13       XmTextPosition *left,
14       XmTextPosition *right);
15

DESCRIPTION

17       XmDataFieldGetSelectionPosition accesses the left and right position of
18       the primary selection in the text buffer of the DataField widget.
19
20       widget    Specifies the DataField 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 DataField and its associated resources,
33       see XmDataField(3).
34

RETURN

36       This function returns True if the widget owns  the  primary  selection;
37       otherwise, it returns False.
38
40       XmDataField(3).
41
42
43
44                                 XmDataFieldGetSelectionPosition(library call)
Impressum