


XmListItemPos(3X)					    XmListItemPos(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmLLiissttIItteemmPPooss	- A List function that returns the position of an item in the
  list

SYNOPSIS


  ##iinncclluuddee <<XXmm//LLiisstt..hh>>
  iinntt XXmmLLiissttIItteemmPPooss ((_w_i_d_g_e_t, _i_t_e_m))
       WWiiddggeett	 _w_i_d_g_e_t;;
       XXmmSSttrriinngg	 _i_t_e_m;;

DESCRIPTION
  XXmmLLiissttIItteemmPPooss	returns	the position of	the first instance of the specified
  item in a List.

  _w_i_d_g_e_t Specifies the ID of the List widget

  _i_t_e_m	 Specifies the item whose position is returned

  For a	complete definition of List and	its associated resources, see
  XXmmLLiisstt((33XX)).

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.

RELATED	INFORMATION
  XXmmLLiisstt((33XX)).



























