


XmListAddItems(3X)					   XmListAddItems(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmLLiissttAAddddIItteemmss - A List function that	adds items to the list

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tAAddddIItteemmss ((_w_i_d_g_e_t, _i_t_e_m_s, _i_t_e_m__c_o_u_n_t, _p_o_s_i_t_i_o_n))
       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_s;;
       iinntt	 _i_t_e_m__c_o_u_n_t;;
       iinntt	 _p_o_s_i_t_i_o_n;;

DESCRIPTION
  XXmmLLiissttAAddddIItteemmss adds the specified items to the list at the given position.
  The first _i_t_e_m__c_o_u_n_t items of	the _i_t_e_m_s array	are added to the list.	When
  the items are	inserted into the list,	they are compared with the current
  XXmmNNsseelleecctteeddIItteemmss list.  If any of the	new items matches an item on the
  selected list, it appears selected.

  _w_i_d_g_e_t Specifies the ID of the List to which an item is added.

  _i_t_e_m_s	 Specifies a pointer to	the items to be	added to the list.

  _i_t_e_m__c_o_u_n_t
	 Specifies the number of items in _i_t_e_m_s.  This number must be non-
	 negative.

  _p_o_s_i_t_i_o_n
	 Specifies the position	of the first new item in the list.  A value
	 of 1 makes the	first new item the first item in the list; a value of
	 2 makes it the	second item; and so on.	 A value of 0 makes the	first
	 new item follow 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)).

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



















