1XmListReplaceItemsUnselected(libraryXcmaLlils)tReplaceItemsUnselected(library call)
2
3
4
6 XmListReplaceItemsUnselected — A List function that replaces items in a
7 list
8
10 #include <Xm/List.h>
11 void XmListReplaceItemsUnselected(
12 Widget widget,
13 XmString *old_items,
14 int item_count,
15 XmString *new_items);
16
18 XmListReplaceItemsUnselected replaces each specified item in the list
19 with a corresponding new item. The replacement items remain unselected,
20 even if they currently appear in the XmNselectedItems list.
21
22 widget Specifies the ID of the List widget to replace items in.
23
24 old_items Specifies a pointer to the list items to be replaced.
25
26 item_count
27 Specifies the number of elements in old_items and new_items.
28 This number must be nonnegative.
29
30 new_items Specifies a pointer to the replacement items. Every occur‐
31 rence of each element of old_items is replaced with the cor‐
32 responding element from new_items. That is, the first element
33 of old_items is replaced with the first element of new_items.
34 The second element of old_items is replaced with the second
35 element of new_items, and so on until item_count is reached.
36 If an element in old_items does not exist in the list, the
37 corresponding entry in new_items is skipped.
38
39 For a complete definition of List and its associated resources, see
40 XmList(3).
41
43 XmList(3).
44
45
46
47 XmListReplaceItemsUnselected(library call)