


XmListPosSelected(3X)					XmListPosSelected(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmLLiissttPPoossSSeelleecctteedd - A	List function that determines if the list item at a
  specified position is	selected

SYNOPSIS


  ##iinncclluuddee <<XXmm//LLiisstt..hh>>
  BBoooolleeaann XXmmLLiissttPPoossSSeelleecctteedd ((_w_i_d_g_e_t, _p_o_s_i_t_i_o_n))
       WWiiddggeett	 _w_i_d_g_e_t;;
       iinntt	 _p_o_s_i_t_i_o_n;;

DESCRIPTION
  XXmmPPoossSSeelleecctteedd	determines if the list item at the specified position is
  selected or not.

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

  _p_o_s_i_t_i_o_n  Specifies the position of the list item.  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 specifies the last item in the
	    list.

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

RETURN VALUE
  Returns True if the list item	is selected; otherwise,	returns	False if the
  item is not selected or the specified	position is invalid.

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


























