1XmListReplaceItemsPosUnselected(liXbmrLairsytRceapllla)ceItemsPosUnselected(library call)
2
3
4
6 XmListReplaceItemsPosUnselected — A List function that replaces items
7 in a list without selecting the replacement items
8
10 #include <Xm/List.h>
11 void XmListReplaceItemsPosUnselected(
12 Widget widget,
13 XmString *new_items,
14 int item_count,
15 int position);
16
18 XmListReplaceItemsPosUnselected replaces the specified number of items
19 in the list with new items, starting at the given position. The
20 replacement items remain unselected, even if they currently appear in
21 the XmNselectedItems list.
22
23 widget Specifies the ID of the List widget to replace items in.
24
25 new_items Specifies a pointer to the replacement items.
26
27 item_count
28 Specifies the number of elements in new_items and the number
29 of items in the list to replace. This number must be nonneg‐
30 ative.
31
32 position Specifies the position of the first item in the list to be
33 replaced. A value of 1 indicates that the first item replaced
34 is the first item in the list; a value of 2 indicates that it
35 is the second item; and so on.
36
37 Beginning with the item specified in position, item_count
38 items in the list are replaced with the corresponding ele‐
39 ments from new_items. That is, the item at position is
40 replaced with the first element of new_items; the item after
41 position is replaced with the second element of new_items;
42 and so on, until item_count is reached.
43
44 For a complete definition of List and its associated resources, see
45 XmList(3).
46
48 XmList(3).
49
50
51
52 XmListReplaceItemsPosUnselected(library call)