1XmListAddItems(library call) XmListAddItems(library call)
2
3
4
6 XmListAddItems — A List function that adds items to the list
7
9 #include <Xm/List.h>
10 void XmListAddItems(
11 Widget widget,
12 XmString *items,
13 int item_count,
14 int position);
15
17 XmListAddItems adds the specified items to the list at the given posi‐
18 tion. The first item_count items of the items array are added to the
19 list. When the items are inserted into the list, they are compared
20 with the current XmNselectedItems list. If any of the new items
21 matches an item on the selected list, it appears selected.
22
23 widget Specifies the ID of the List to which an item is added.
24
25 items Specifies a pointer to the items to be added to the list.
26
27 item_count
28 Specifies the number of items in items. This number must be
29 nonnegative.
30
31 position Specifies the position of the first new item in the list. A
32 value of 1 makes the first new item the first item in the
33 list; a value of 2 makes it the second item; and so on. A
34 value of 0 (zero) makes the first new item follow the last
35 item in the list.
36
37 For a complete definition of List and its associated resources, see
38 XmList(3).
39
41 XmList(3).
42
43
44
45 XmListAddItems(library call)