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

NAME

6       XmListReplaceItemsPos  —  A  List  function that replaces the specified
7       elements in the list
8

SYNOPSIS

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

DESCRIPTION

18       XmListReplaceItemsPos replaces the specified number  of  items  of  the
19       List  with  new  items, starting at the specified position in the List.
20       When the items are inserted into the list, they are compared  with  the
21       current  XmNselectedItems list. If any of the new items matches an item
22       on the selected list, it appears selected.
23
24       widget    Specifies the ID of the List widget.
25
26       new_items Specifies the replacement items.
27
28       item_count
29                 Specifies the number of items in new_items and the number  of
30                 items  in  the list to replace.  This number must be nonnega‐
31                 tive.
32
33       position  Specifies the position of the first item in the  list  to  be
34                 replaced.   A  value  of  1  indicates  that  the  first item
35                 replaced is the first item in the list; a value  of  2  indi‐
36                 cates that it is the second item; and so on.
37
38                 Beginning  with  the  item  specified in position, item_count
39                 items in the list are replaced with  the  corresponding  ele‐
40                 ments  from  new_items.   That  is,  the  item at position is
41                 replaced with the first element of new_items; the item  after
42                 position  is  replaced  with the second element of new_items;
43                 and so on, until item_count is reached.
44
45       For a complete definition of List and  its  associated  resources,  see
46       XmList(3).
47
49       XmList(3).
50
51
52
53                                           XmListReplaceItemsPos(library call)
Impressum