1XmListReplaceItems(library call)              XmListReplaceItems(library call)
2
3
4

NAME

6       XmListReplaceItems  —  A List function that replaces the specified ele‐
7       ments in the list
8

SYNOPSIS

10       #include <Xm/List.h>
11       void XmListReplaceItems(
12       Widget widget,
13       XmString *old_items,
14       int item_count,
15       XmString *new_items);
16

DESCRIPTION

18       XmListReplaceItems replaces each specified item of the list with a cor‐
19       responding  new  item.  When the items are inserted into the list, they
20       are compared with the current XmNselectedItems list. If any of the  new
21       items matches an item on the selected list, it appears selected.
22
23       widget    Specifies the ID of the List widget.
24
25       old_items Specifies the items to be replaced.
26
27       item_count
28                 Specifies  the  number  of  items in old_items and new_items.
29                 This number must be nonnegative.
30
31       new_items Specifies the replacement items.
32
33       Every occurrence of each element of old_items is replaced with the cor‐
34       responding  element  from  new_items.   That  is,  the first element of
35       old_items is replaced with the first element of new_items.  The  second
36       element  of old_items is replaced with the second element of new_items,
37       and so on until item_count is reached.
38
39       For a complete definition of List and  its  associated  resources,  see
40       XmList(3).
41
43       XmList(3).
44
45
46
47                                              XmListReplaceItems(library call)
Impressum