


XmListSelectPos(3X)					  XmListSelectPos(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmLLiissttSSeelleeccttPPooss - A List function that selects an item at a specified	posi-
  tion in 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tSSeelleeccttPPooss ((_w_i_d_g_e_t,	_p_o_s_i_t_i_o_n, _n_o_t_i_f_y))
       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;;
       BBoooolleeaann	 _n_o_t_i_f_y;;

DESCRIPTION
  XXmmLLiissttSSeelleeccttPPooss highlights a List item at the	specified position and adds
  it to	the list of selected items.

  _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 item to be selected.  A value of	1
	 indicates that	the first item in the list is selected;	a value	of 2
	 indicates that	the second item	is selected; and so on.	 A value of 0
	 indicates that	the last item in the list is selected.

  _n_o_t_i_f_y Specifies a Boolean value that	when True invokes the selection	call-
	 back for the current mode.  From an application interface view, cal-
	 ling this function with _n_o_t_i_f_y	True is	indistinguishable from a
	 user-initiated	selection action.

  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)).























