


XmListYToPos(3X)					     XmListYToPos(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmLLiissttYYTTooPPooss - A List	function that returns the position of the item at a
  specified y coordinate

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tYYTTooPPooss ((_w_i_d_g_e_t, _y))
       WWiiddggeett	 _w_i_d_g_e_t;;
       PPoossiittiioonn	 _y;;

DESCRIPTION
  XXmmLLiissttYYTTooPPooss returns the position of the item	at the given y coordinate
  within the list.

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

  _y	 Specifies the y coordinate in the list's coordinate system

  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 of the item at the specified y coordinate.  A value of
  1 indicates the first	item in	the list; a value of 2 indicates the second
  item;	and so on.  A value of 0 indicates that	no item	exists at the speci-
  fied y coordinate.

RELATED	INFORMATION
  XXmmLLiisstt((33XX)) and XXmmLLiissttPPoossTTooBBoouunnddss((33XX)).



























