


XmListDeletePositions(3X)			    XmListDeletePositions(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmLLiissttDDeelleetteePPoossiittiioonnss	- A List function that deletes items from a list
  based	on an array of positions

SYNOPSIS


  ##iinncclluuddee <<XXmm//LLiisstt..hh>>
  vvooiidd XXmmLLiissttDDeelleetteePPoossiittiioonns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tDDeelleetteePPoossiittiioonnss	deletes	noncontiguous items from a list.  The func-
  tion deletes all items whose corresponding positions appear in the
  _p_o_s_i_t_i_o_n__l_i_s_t	array. A warning message is displayed if a specified position
  is invalid; that is, the value is 0, a negative integer, or a	number
  greater than the number of items in the 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
	      Specifies	an array of the	item positions to be deleted.  The
	      position of the first item in the	list is	1; the position	of
	      the second item is 2; and	so on.

  _p_o_s_i_t_i_o_n__c_o_u_n_t
	      Specifies	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)).

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























