1XmListSetKbdItemPos(library call) XmListSetKbdItemPos(library call)
2
3
4
6 XmListSetKbdItemPos — A List function that sets the location cursor at
7 a specified position
8
10 #include <Xm/List.h>
11 Boolean XmListSetKbdItemPos(
12 Widget widget,
13 int position);
14
16 XmListSetKbdItemPos sets the location cursor at the item specified by
17 position. This function does not determine if the item at the specified
18 position is selected or not.
19
20 widget Specifies the ID of the List widget.
21
22 position Specifies the position of the item at which the location cur‐
23 sor is set. A value of 1 indicates the first item in the
24 list; a value of 2 indicates the second item; and so on. A
25 value of 0 (zero) sets the location cursor at the last item
26 in the list.
27
28 For a complete definition of List and its associated resources, see
29 XmList(3).
30
32 Returns False if no item exists at the specified position or if the
33 list is empty; otherwise, returns True.
34
36 XmList(3).
37
38
39
40 XmListSetKbdItemPos(library call)