1XmListPosSelected(library call) XmListPosSelected(library call)
2
3
4
6 XmListPosSelected — A List function that determines if the list item at
7 a specified position is selected
8
10 #include <Xm/List.h>
11 Boolean XmListPosSelected(
12 Widget widget,
13 int position);
14
16 XmPosSelected determines if the list item at the specified position is
17 selected or not.
18
19 widget Specifies the ID of the List widget
20
21 position Specifies the position of the list item. A value of 1 indi‐
22 cates the first item in the list; a value of 2 indicates the
23 second item; and so on. A value of 0 (zero) specifies the
24 last item in the list.
25
26 For a complete definition of List and its associated resources, see
27 XmList(3).
28
30 Returns True if the list item is selected; otherwise, returns False if
31 the item is not selected or the specified position is invalid.
32
34 XmList(3).
35
36
37
38 XmListPosSelected(library call)