1XmTextGetSelectionPosition(library callX)mTextGetSelectionPosition(library call)
2
3
4

NAME

6       XmTextGetSelectionPosition — A Text function that accesses the position
7       of the primary selection
8

SYNOPSIS

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

DESCRIPTION

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

RETURN

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