XmListReplaceItems(3X) SDK X11 R4.11MU05 XmListReplaceItems(3X)
NAME
XmListReplaceItems--A List function that replaces the specified
elements in the list
SYNOPSIS
#include <Xm/List.h>
void XmListReplaceItems (widget, olditems, itemcount, newitems)
Widget widget;
XmString *olditems;
int itemcount;
XmString *newitems;
DESCRIPTION
XmListReplaceItems replaces each specified item of the list with a
corresponding new item. When the items are inserted into the list,
they are compared with the current XmNselectedItems list. If any of
the new items matches an item on the selected list, it appears
selected.
widget Specifies the ID of the List widget
olditems
Specifies the items to be replaced
itemcount
Specifies the number of items in olditems and newitems This
number must be non-negative.
newitems
Specifies the replacement items
Every occurrence of each element of olditems is replaced with the
corresponding element from newitems. That is, the first element of
olditems is replaced with the first element of newitems. The
second element of olditems is replaced with the second element of
newitems, and so on until itemcount is reached.
For a complete definition of List and its associated resources, see
XmList(3X).
RELATED INFORMATION
XmList(3X).
Licensed material--property of copyright holder(s)