


XmListSetKbdItemPos(3X)				      XmListSetKbdItemPos(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmLLiissttSSeettKKbbddIItteemmPPooss -	A List function	that sets the location cursor at a
  specified position

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tSSeettKKbbddIItteemmPPooss ((_w_i_d_g_e_t, _p_o_s_i_t_i_o_n))
       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;;

DESCRIPTION
  XXmmLLiissttSSeettKKbbddIItteemmPPooss sets the location	cursor at the item specified by	_p_o_s_i_-
  _t_i_o_n.	 This function does not	determine if the item at the specified posi-
  tion is selected or not.

  _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 at which the location cursor is
	 set.  A value of 1 indicates the first	item in	the list; a value of
	 2 indicates the second	item; and so on.  A value of 0 sets the	loca-
	 tion cursor at	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)).

RETURN VALUE
  Returns False	if no item exists at the specified position or if the list is
  empty; otherwise, returns True.

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
























