


XmTextGetSelectionPosition(3X)		       XmTextGetSelectionPosition(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmTTeexxttGGeettSSeelleeccttiioonnPPoossiittiioonn - A Text 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t..hh>>
  BBoooolleeaann XXmmTTeexxttG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tG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 pri-
  mary selection in the	text buffer of the Text	widget.

  _w_i_d_g_e_t Specifies the Text 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 Text and	its associated resources, see
  XXmmTTeexxtt((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t((33XX)).




















