


XmTextPaste(3X)						      XmTextPaste(3X)
OSF/Motif							    OSF/Motif



NAME
  XXmmTTeexxttPPaassttee -	A Text function	that inserts the clipboard 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tPPaassttee ((_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tPPaassttee inserts the clipboard selection at the insertion cursor of the
  destination widget.  If XXmmNNppeennddiinnggDDeelleettee is True and the insertion cursor
  is inside the	current	selection, the clipboard selection replaces the
  selected text.

  This routine calls the widget's XXmmNNvvaalluueeCChhaannggeeddCCaallllbbaacckk and verification
  callbacks, either XXmmNNmmooddiiffyyVVeerriiffyyCCaallllbbaacckk or XXmmNNmmooddiiffyyVVeerriiffyyCCaallllbbaacckkWWccss, or
  both.	 If both verification callback lists are registered, the procedures
  of the XXmmNNmmooddiiffyyVVeerriiffyyCCaallllbbaacckk list are executed first and the resulting
  data is passed to the	XXmmNNmmooddiiffyyVVeerriiffyyCCaallllbbaacckkWWccss callbacks.

  _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
  This function	returns	False if the _w_i_d_g_e_t doesn't own	the primary selec-
  tion.	 Otherwise, it returns True.

RELATED	INFORMATION
  XXmmTTeexxtt((33XX)).

























