Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmLiItemP(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmListItemPos(Xm)              6 January 1993              XmListItemPos(Xm)


 Name

    XmListItemPos - a List function that returns the position of an item in
    the list

 Syntax


    #include <Xm/List.h>

    int XmListItemPos (widget, item)
    Widget widget;
    XmString item;


 Description

    XmListItemPos returns the position of the first instance of the specified
    item in a List.

    widget  Specifies the ID of the List widget.

    item    Specifies the item whose position is returned.

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

 Return value

    Returns the position in the list of the first instance of the specified
    item.  The position of the first item in the list is 1; the position of
    the second item is 2; and so on.  This function returns 0 if the item is
    not found.

 See also

    XmList(Xm)


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