Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmLiDeleF(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmListDeletePositions(Xm)      6 January 1993      XmListDeletePositions(Xm)


 Name

    XmListDeletePositions - a List function that deletes items from a list
    based on an array of positions

 Syntax


    #include <Xm/List.h>

    void XmListDeletePositions (widget, position_list, position_count)
    Widget widget;
    int *position_list;
    int position_count;


 Description

    XmListDeletePositions deletes noncontiguous items from a list.  The func-
    tion deletes all items whose corresponding positions appear in the
    positionlist array.  A warning message is displayed if a specified posi-
    tion is invalid; that is, the value is 0, a negative integer, or a number
    greater than the number of items in the list.

    widget  Specifies the ID of the List widget

    positionlist
            Specifies an array of the item positions to be deleted.  The
            position of the first item in the list is 1; the position of the
            second item is 2; and so on.

    positioncount
            Specifies the number of elements in the positionlist.

    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