1XmListItemPos(library call) XmListItemPos(library call)
2
3
4
6 XmListItemPos — A List function that returns the position of an item in
7 the list
8
10 #include <Xm/List.h>
11 int XmListItemPos(
12 Widget widget,
13 XmString item);
14
16 XmListItemPos returns the position of the first instance of the speci‐
17 fied item in a list.
18
19 widget Specifies the ID of the List widget
20
21 item Specifies the item whose position is returned
22
23 For a complete definition of List and its associated resources, see
24 XmList(3).
25
27 Returns the position in the list of the first instance of the specified
28 item. The position of the first item in the list is 1; the position of
29 the second item is 2; and so on. This function returns 0 (zero) if the
30 item is not found.
31
33 XmList(3).
34
35
36
37 XmListItemPos(library call)