Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DtEditorCopyToClipboard(3) — CDE 1.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DtEditor(5)

DtEditor(3)

DtEditorClearSelection(3)

DtEditorCutToClipboard(3)

DtEditorDeleteSelection(3)

DtEditorDeselect(3)

DtEditorPasteFromClipboard(3)

DtEditorSelectAll(3)

DtEditorUndoEdit(3)

DtEditorCopyToClipboard(3)

NAME

DtEditorCopyToClipboard − copy the primary selection in a DtEditor widget to the clipboard

SYNOPSIS

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

DESCRIPTION

The DtEditorCopyToClipboard() function copies to the clipboard the currently selected text in the DtEditor widget specified by the widget argument.  Text can be selected and deselect 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

Upon successful completion, the DtEditorCopyToClipboard() function returns True; otherwise, if the primary selection is NULL, or if the widget does not own the primary selection, or if the function is unable to gain ownership of the clipboard selection, it returns False. 

SEE ALSO

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

SunOS 1.0.1  —  Last change: 3 May 1994

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