Query: xmlistitempos
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XmListItemPos(library call) XmListItemPos(library call)NAMEXmListItemPos -- A List function that returns the position of an item in the listSYNOPSIS#include <Xm/List.h> int XmListItemPos( Widget widget, XmString item);DESCRIPTIONXmListItemPos 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(3).RETURNReturns 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 posi- tion of the second item is 2; and so on. This function returns 0 (zero) if the item is not found.RELATEDXmList(3). XmListItemPos(library call)