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

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

Contents


 XmListAddItem(library call)                     XmListAddItem(library call)




 NAME    [Toc]    [Back]
      XmListAddItem - A List function that adds an item to the list

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

 DESCRIPTION    [Toc]    [Back]
      XmListAddItem adds an item to the list at the given position.  When
      the item is inserted into the list, it is compared with the current
      XmNselectedItems list.  If the new item matches an item on the
      selected list, it appears selected.

      widget    Specifies the ID of the List to which an item is added.

      item      Specifies the item to be added to the list.

      position  Specifies the position of the new item in the list.  A value
                of 1 makes the 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 new item 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
XmListSetBottomItem HP-UX A List function that makes an existing item the last visible item in the list
XmListSetItem HP-UX A List function that makes an existing item the first visible item in the list
XmListSetBottomItem IRIX A List function that makes an existing item the last visible item in the list
XmListSetItem IRIX A List function that makes an existing item the first visible item in the list
XmListSetItem Tru64 A List function that makes an existing item the first visible item in the list
XmListSetBottomItem Tru64 A List function that makes an existing item the last visible item in the list
SgDynaMenuAddHistoryItem IRIX A DynaMenu function that adds an item to the DynaMenu history list
SgFinderAddHistoryItem IRIX A Finder function that adds an item to the Finder history list
XmListSetBottomPos Tru64 A List function that makes a specified item the last visible item in the list
XmListSetBottomPos HP-UX A List function that makes a specified item the last visible item in the list
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service