1XmListSelectItem(library call) XmListSelectItem(library call)
2
3
4
6 XmListSelectItem — A List function that selects an item in the list
7
9 #include <Xm/List.h>
10 void XmListSelectItem(
11 Widget widget,
12 XmString item,
13 Boolean notify);
14
16 XmListSelectItem highlights and adds to the selected list the first
17 item in the list that matches item.
18
19 widget Specifies the ID of the List widget from whose list an item
20 is selected.
21
22 item Specifies the item to be selected in the List widget. If
23 item appears more than once in the List, only the first
24 occurrence is matched.
25
26 notify Specifies a Boolean value that when TRUE invokes the selec‐
27 tion callback for the current mode. From an application
28 interface view, calling this function with notify True is
29 indistinguishable from a user-initiated selection action.
30 When notify is FALSE, no callbacks are called.
31
32 For a complete definition of List and its associated resources, see
33 XmList(3).
34
36 XmList(3) and XmListSelectPos(3).
37
38
39
40 XmListSelectItem(library call)