1XmListSetPos(library call) XmListSetPos(library call)
2
3
4
6 XmListSetPos — A List function that makes the item at the given posi‐
7 tion the first visible position in the list
8
10 #include <Xm/List.h>
11 void XmListSetPos(
12 Widget widget,
13 int position);
14
16 XmListSetPos makes the item at the given position the first visible
17 position in the list.
18
19 widget Specifies the ID of the List widget.
20
21 position Specifies the position of the item to be made the first visi‐
22 ble item in the list. A value of 1 indicates that the first
23 item in the list is the first visible item; a value of 2
24 indicates that the second item is the first visible item; and
25 so on. A value of 0 (zero) indicates that the last item in
26 the list is the first visible item.
27
28 For a complete definition of List and its associated resources, see
29 XmList(3).
30
32 XmList(3).
33
34
35
36 XmListSetPos(library call)