Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmLiAddIA(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmListAddItem(Xm)              6 January 1993              XmListAddItem(Xm)


 Name

    XmListAddItem - a List function that adds an item to the list

 Syntax


    #include <Xm/List.h>

    void XmListAddItem (widget, item, position)
    Widget widget;
    XmString item;
    int position;


 Description

    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 XmNselec-
    tedItems 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 makes the new item
            the last item in the list.

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

 See also

    XmList(Xm)


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026