


XmTextGetSelectionWcs(3X)			    XmTextGetSelectionWcs(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmTTeexxttGGeettSSeelleeccttiioonnWWccss	- A Text function that retrieves the value of a	wide
  character encoded primary selection

SYNOPSIS


  ##iinncclluuddee <<XXmm//TTeexxtt..hh>>
  wwcchhaarr__tt ** XXmmTTeexxttGGeettSSeelleeccttiioonnWWccss ((_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nWWccss	retrieves the value of the primary selection that is
  encoded in a wide character format.  It returns a NULL pointer if no text
  is selected in the widget.  The application is responsible for freeing the
  storage associated with the wide character buffer 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 the wide character string that is associated with the	primary
  selection in the Text	widget.

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n((33XX)).






























