*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> XmListReplacePositions (3X)              
Title
Content
Arch
Section
 

XmListReplacePositions(3X)

Contents


NAME    [Toc]    [Back]

       XmListReplacePositions  -  A  List  function that replaces
       items in a list based on position

SYNOPSIS    [Toc]    [Back]

       #include <Xm/List.h>

       void   XmListReplacePositions   (widget,    position_list,
       item_list, item_count)
               Widget widget;
               int *position_list;
               XmString *item_list;
               int item_count;

DESCRIPTION    [Toc]    [Back]

       XmListReplacePositions  replaces  noncontiguous items in a
       list.  The  item  at  each  position  specified  in  position_list
  is  replaced  with  the  corresponding entry in
       item_list. When the items are inserted into the list, they
       are  compared with the current XmNselectedItems list.  Any
       of the new items that match items  on  the  selected  list
       appears  selected.   A  warning  message is displayed if a
       specified position is invalid; that is, the value is 0,  a
       negative  integer,  or a number greater than the number of
       items in the list.  Specifies the ID of the  List  widget.
       Specifies  an  array  of  the  positions  of  items  to be
       replaced.  The position of the first item in the  list  is
       1; the position of the second item is 2; and so on.  Specifies
 an array of the replacement  items.   Specifies  the
       number  of  elements  in position_list and item_list. This
       number must be non-negative.

       For a complete  definition  of  List  and  its  associated
       resources, see XmList(3X).

SEE ALSO    [Toc]    [Back]

      
      
       XmList(3X)



                                       XmListReplacePositions(3X)
[ Back ]
 Similar pages
Name OS Title
XmListReplaceItemsPosUnselected HP-UX A List function that replaces items in a list without selecting the replacement items
XmListReplaceItemsPosUnselected IRIX A List function that replaces items in a list without selecting the replacement items
XmListReplaceItemsPosUnselected Tru64 A List function that replaces items in a list without selecting the replacement items
XmListReplaceItemsUnselected HP-UX A List function that replaces items in a list
XmListReplaceItemsUnselected IRIX A List function that replaces items in a list
XmListReplaceItemsUnselected Tru64 A List function that replaces items in a list
XmListDeletePositions Tru64 A List function that deletes items from a list based on an array of positions
XmListDeletePositions IRIX A List function that deletes items from a list based on an array of positions
XmListDeletePositions HP-UX A List function that deletes items from a list based on an array of positions
XmListDeleteItemsPos Tru64 A List function that deletes items from the list starting at the given position
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service