


XmListGetSelectedPos(3X)			     XmListGetSelectedPos(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmLLiissttGGeettSSeelleecctteeddPPooss - A List	function that returns the position of every
  selected item	in the list

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tGGeettSSeelleecctteeddPPooss ((_w_i_d_g_e_t,	_p_o_s_i_t_i_o_n__l_i_s_t, _p_o_s_i_t_i_o_n__c_o_u_n_t))
       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__l_i_s_t;;
       iinntt	 **_p_o_s_i_t_i_o_n__c_o_u_n_t;;

DESCRIPTION
  XXmmLLiissttGGeettSSeelleecctteeddPPooss is a Boolean function that returns an array of the
  positions of the selected items in a List.

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

  _p_o_s_i_t_i_o_n__l_i_s_t
	 Returns an array of the positions of the selected items in the	List.
	 The position of the first item	in the list is 1; the position of the
	 second	item is	2; and so on.  When the	return value is	TRUE, XXmmLLiisstt--
	 GGeettSSeelleecctteeddPPooss	allocates memory for this array.  The caller is
	 responsible for freeing this memory.

  _p_o_s_i_t_i_o_n__c_o_u_n_t
	 Returns the number of elements	in the _p_o_s_i_t_i_o_n__l_i_s_t.

  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 has any selected items, and FALSE if	it does	not.

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





















