1XmListAddItem(library call) XmListAddItem(library call)
2
3
4
6 XmListAddItem — A List function that adds an item to the list
7
9 #include <Xm/List.h>
10 void XmListAddItem(
11 Widget widget,
12 XmString item,
13 int position);
14
16 XmListAddItem adds an item to the list at the given position. When the
17 item is inserted into the list, it is compared with the current XmNse‐
18 lectedItems list. If the new item matches an item on the selected
19 list, it appears selected.
20
21 widget Specifies the ID of the List to which an item is added.
22
23 item Specifies the item to be added to the list.
24
25 position Specifies the position of the new item in the list. A value
26 of 1 makes the new item the first item in the list; a value
27 of 2 makes it the second item; and so on. A value of 0
28 (zero) makes the new item the last item in the list.
29
30 For a complete definition of List and its associated resources, see
31 XmList(3).
32
34 XmList(3).
35
36
37
38 XmListAddItem(library call)