


XmListAddItem(3X)					    XmListAddItem(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmLLiissttAAddddIItteemm	- A List function that adds an item 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m ((_w_i_d_g_e_t, _i_t_e_m, _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;;
       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m	adds an	item to	the list at the	given position.	 When the
  item is inserted into	the list, it is	compared with the current XXmmNNsseelleecc--
  tteeddIItteemmss list.  If the new item 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	 Specifies the item to be added	to the list.

  _p_o_s_i_t_i_o_n
	 Specifies the position	of the new item	in the list.  A	value of 1
	 makes the 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 new item 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)).

























