


XmTextGetSelection(3X)				       XmTextGetSelection(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmTTeexxttGGeettSSeelleeccttiioonn - A Text function that retrieves the value	of the pri-
  mary selection

SYNOPSIS


  ##iinncclluuddee <<XXmm//TTeexxtt..hh>>
  cchhaarr ** XXmmTTeexxttGGeettSSeelleeccttiioonn ((_w_i_d_g_e_t))
       WWiiddggeett	 _w_i_d_g_e_t;;

DESCRIPTION
  XXmmTTeexxttGGeettSSeelleeccttiioonn retrieves the value of the	primary	selection.  It
  returns a NULL pointer if no text is selected	in the widget.	The applica-
  tion is responsible for freeing the storage associated with the string by
  calling XXttFFrreeee.

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

  For a	complete definition of Text and	its associated resources, see
  XXmmTTeexxtt((33XX)).

RETURN VALUE
  Returns a character pointer to the string that is associated with the	pri-
  mary selection.

RELATED	INFORMATION
  XXmmTTeexxtt((33XX)) and XXmmTTeexxttGGeettSSeelleeccttiioonnWWccss((33XX)).






























