1XmListYToPos(library call) XmListYToPos(library call)
2
3
4
6 XmListYToPos — A List function that returns the position of the item at
7 a specified y-coordinate
8
10 #include <Xm/List.h>
11 int XmListYToPos(
12 Widget widget,
13 Position y);
14
16 XmListYToPos returns the position of the item at the given y-coordinate
17 within the list.
18
19 widget Specifies the ID of the List widget
20
21 y Specifies the y-coordinate in the list's coordinate system
22
23 For a complete definition of List and its associated resources, see
24 XmList(3).
25
27 Returns the position of the item at the specified y coordinate. A value
28 of 1 indicates the first item in the list; a value of 2 indicates the
29 second item; and so on. A value of 0 (zero) indicates that no item
30 exists at the specified y coordinate.
31
33 XmList(3) and XmListPosToBounds(3).
34
35
36
37 XmListYToPos(library call)