1XmDataFieldXYToPos(library call) XmDataFieldXYToPos(library call)
2
3
4
6 XmDataFieldXYToPos — A DataField function that accesses the character
7 position nearest an x and y position
8
10 #include <Xm/DataF.h>
11 XmTextPosition XmDataFieldXYToPos(
12 Widget widget,
13 Position x,
14 Position y);
15
17 XmDataFieldXYToPos accesses the character position nearest to the spec‐
18 ified x and y position, relative to the upper left corner of the
19 DataField widget.
20
21 widget Specifies the DataField widget ID
22
23 x Specifies the x position, relative to the upper left corner
24 of the widget.
25
26 y Specifies the y position, relative to the upper left corner
27 of the widget.
28
29 For a complete definition of DataField and its associated resources,
30 see XmDataField(3).
31
33 Returns the character position in the text nearest the x and y position
34 specified. This is an integer number of characters from the beginning
35 of the buffer. The first character position is 0 (zero).
36
38 XmDataField(3).
39
40
41
42 XmDataFieldXYToPos(library call)