1XmListSelectPos(library call) XmListSelectPos(library call)
2
3
4
6 XmListSelectPos — A List function that selects an item at a specified
7 position in the list
8
10 #include <Xm/List.h>
11 void XmListSelectPos(
12 Widget widget,
13 int position,
14 Boolean notify);
15
17 XmListSelectPos highlights a List item at the specified position and
18 adds it to the list of selected items.
19
20 widget Specifies the ID of the List widget.
21
22 position Specifies the position of the item to be selected. A value
23 of 1 indicates that the first item in the list is selected; a
24 value of 2 indicates that the second item is selected; and so
25 on. A value of 0 (zero) indicates that the last item in the
26 list is selected.
27
28 notify Specifies a Boolean value that when TRUE invokes the selec‐
29 tion callback for the current mode. From an application
30 interface view, calling this function with notify True is
31 indistinguishable from a user-initiated selection action.
32 When notify is FALSE, no callbacks are called.
33
34 For a complete definition of List and its associated resources, see
35 XmList(3).
36
38 XmList(3) and XmListSelectItem(3).
39
40
41
42 XmListSelectPos(library call)