Manual Page Result
0
Command: XmListItemPos | Section: 3 | Source: Digital UNIX | File: XmListItemPos.3X.gz
XmListItemPos(3X) XmListItemPos(3X)
NAME
XmListItemPos - A List function that returns the position of an item in
the list
SYNOPSIS
#include <Xm/List.h>
int XmListItemPos (widget, item)
Widget widget;
XmString item;
DESCRIPTION
XmListItemPos returns the position of the first instance of the speci-
fied item in a List. Specifies the ID of the List widget Specifies the
item whose position is returned
For a complete definition of List and its associated resources, see Xm-
List(3X).
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(3X)
XmListItemPos(3X)