Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DtEditor(5)

DtEditor(3)

DtEditorClearSelection(3)

DtEditorCutToClipboard(3)

DtEditorCopyToClipboard(3)

DtEditorDeleteSelection(3)

DtEditorDeselect(3)

DtEditorSelectAll(3)

DtEditorUndoEdit(3)

DtEditorPasteFromClipboard(3)  —  Subroutines

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 replaces 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 resources, see DtEditor(3). 

RETURN VALUE

???? component owner: x/open-required wording format for RETURN VALUE follows; I’ve modified the original; can you please check that the info fits this template????
Upon successful completion, the DtEditorPasteFromClipboard() returns False if the widget doesn’t own the primary selection; otherwise, it returns True. 

SEE ALSO

DtEditor(5), DtEditor(3), DtEditorClearSelection(3), DtEditorCutToClipboard(3), DtEditorCopyToClipboard(3), DtEditorDeleteSelection(3), DtEditorDeselect(3), DtEditorSelectAll(3), DtEditorUndoEdit(3). 
 
 
 
 

  —  3 May 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026