1XmTextFieldXYToPos(library call) XmTextFieldXYToPos(library call)
2
3
4
6 XmTextFieldXYToPos — A TextField function that accesses the character
7 position nearest an x and y position
8
10 #include <Xm/TextF.h>
11 XmTextPosition XmTextFieldXYToPos(
12 Widget widget,
13 Position x,
14 Position y);
15
17 XmTextFieldXYToPos accesses the character position nearest to the spec‐
18 ified x and y position, relative to the upper left corner of the
19 TextField widget.
20
21 widget Specifies the TextField 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 TextField and its associated resources,
30 see XmTextField(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 XmTextField(3).
39
40
41
42 XmTextFieldXYToPos(library call)