


XmTextFieldGetSelectionPosition(3X)	  XmTextFieldGetSelectionPosition(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmTTeexxttFFiieellddGGeettSSeelleeccttiioonnPPoossiittiioonn - A TextField	function that accesses the
  position of the primary selection

SYNOPSIS


  ##iinncclluuddee <<XXmm//TTeexxttFF..hh>>
  BBoooolleeaann XXmmTTeexxttFFiieellddGGeettSSeelleeccttiioonnPPoossiittiioonn ((_w_i_d_g_e_t, _l_e_f_t, _r_i_g_h_t))
       WWiiddggeett	 _w_i_d_g_e_t;;
       XXmmTTeexxttPPoossiittiioonn*_l_e_f_t;;
       XXmmTTeexxttPPoossiittiioonn*_r_i_g_h_t;;

DESCRIPTION
  XXmmTTeexxttFFiieellddGGeettSSeelleeccttiioonnPPoossiittiioonn accesses the left and	right position of the
  primary selection in the text	buffer of the TextField	widget.

  _w_i_d_g_e_t Specifies the TextField widget	ID

  _l_e_f_t	 Specifies the pointer in which	the position of	the left boundary of
	 the primary selection is returned.  This is an	integer	number of
	 characters from the beginning of the buffer.  The first character
	 position is 0.

  _r_i_g_h_t	 Specifies the pointer in which	the position of	the right boundary of
	 the primary selection is returned.  This is an	integer	number of
	 characters from the beginning of the buffer.  The first character
	 position is 0.

  For a	complete definition of TextField and its associated resources, see
  XXmmTTeexxttFFiieelldd((33XX)).

RETURN VALUE
  This function	returns	True if	the widget owns	the primary selection; other-
  wise,	it returns False.

RELATED	INFORMATION
  XXmmTTeexxttFFiieelldd((33XX)).




















