Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmListAddItems(3X) — DG/UX R4.11MU05

Media Vault

Software Library

Restoration Projects

Artifacts Sought



XmListAddItems(3X)            SDK X11 R4.11MU05           XmListAddItems(3X)


NAME
       XmListAddItems--A List function that adds items to the list

SYNOPSIS
       #include <Xm/List.h>

       void XmListAddItems (widget, items, itemcount, position)
            Widget    widget;
            XmString  *items;
            int       itemcount;
            int       position;


DESCRIPTION
       XmListAddItems adds the specified items to the list at the given
       position.  The first itemcount 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.

        itemcount
               Specifies the number of items in items.  This number must be
               non-negative.

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


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

RELATED INFORMATION
       XmList(3X).


Licensed material--property of copyright holder(s)

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