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

  man pages->HP-UX 11i man pages -> XmListAddItems (3)              
Title
Content
Arch
Section
 

Contents


 XmListAddItems(library call)                   XmListAddItems(library call)




 NAME    [Toc]    [Back]
      XmListAddItems - A List function that adds items to the list

 SYNOPSIS    [Toc]    [Back]
      #include <Xm/List.h>
      void XmListAddItems(
      Widget widget,
      XmString *items,
      int item_count,
      int position);

 DESCRIPTION    [Toc]    [Back]
      XmListAddItems adds the specified items to the list at the given
      position.  The first item_count items of the items array are added to
      the list.  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 to which an item is added.

      items     Specifies a pointer to the items to be added to the list.

      item_count
                Specifies the number of items in items.  This number must be
                nonnegative.

      position  Specifies the position of the first new item in the list.  A
                value of 1 makes the first new item the first item in the
                list; a value of 2 makes it the second item; and so on.  A
                value of 0 (zero) makes the first new item follow the last
                item in the list.

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

 RELATED    [Toc]    [Back]
      XmList(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
 Similar pages
Name OS Title
XmListAddItemsUnselected IRIX A List function that adds items to a list
XmListAddItemsUnselected HP-UX A List function that adds items to a list
XmListAddItemsUnselected Tru64 A List function that adds items to a list
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
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
XmListDeletePositions Tru64 A List function that deletes items from a list based on an array of positions
XmListReplacePositions IRIX A List function that replaces items in a list based on position
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service