Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DtEditorPasteFromClipboard(library calDtEditorPasteFromClipboard(library call)

NAME
       DtEditorPasteFromClipboard  --  insert  the  clipboard selection	into a
       DtEditor	widget

SYNOPSIS
       #include	<Dt/Editor.h>
       Boolean DtEditorPasteFromClipboard(
       Widget widget);

DESCRIPTION
       The DtEditorPasteFromClipboard function inserts the clipboard selection
       before  the  insertion cursor of	the DtEditor widget.  If the insertion
       cursor is inside	the current selection,	the  clipboard	selection  re-
       places  the  selected text.  Text can be	cut or copied to the clipboard
       with DtEditorCutToClipboard(3) and DtEditorCopyToClipboard(3). Text can
       be  selected  and deselected programmatically with DtEditorSelectAll(3)
       and DtEditorDeselect(3).

       The widget argument specifies the DtEditor widget ID.

       For a complete definition of the	DtEditor widget	and its	associated re-
       sources,	see DtEditor(3).

RETURN VALUE
       Upon successful completion, the DtEditorPasteFromClipboard function re-
       turns True; otherwise, if the widget does not own  the  primary	selec-
       tion, the function returns False.

SEE ALSO
       Dt/Editor.h - DtEditor(5), DtEditor(3), DtEditorClearSelection(3), DtE-
       ditorCutToClipboard(3),	DtEditorCopyToClipboard(3),  DtEditorDeleteSe-
       lection(3),   DtEditorDeselect(3),   DtEditorSelectAll(3),  DtEditorUn-
       doEdit(3).

				      DtEditorPasteFromClipboard(library call)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=DtEditorPasteFromClipboard&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help