Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DtEditorDeleteSelection(3) — Tru64 UNIX 5.0a

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Editor.h(5)

DtEditorClearSelection(3)

DtEditorCopyToClipboard(3)

DtEditorCutToClipboard(3)

DtEditorDeselect(3)

DtEditorPasteFromClipboard(3)

DtEditorSelectAll(3)

DtEditorUndoEdit(3)

DtEditorDeleteSelection(3)  —  Subroutines

CDE

NAME

DtEditorDeleteSelection − delete the primary selection in the DtEditor widget

SYNOPSIS

#include <Editor.h> Boolean DtEditorDeleteSelection(Widget widget);

DESCRIPTION

The DtEditorDeleteSelection function removes the currently highlighted data in a DtEditor widget.  Any data following the deleted data is moved up.  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 DtEditorDeleteSelection function returns True; otherwise, if the primary selection is NULL, or if the widget does not own the primary selection, it returns False. 

SEE ALSO

Editor.h(5), DtEditorClearSelection(3), DtEditorCopyToClipboard(3), DtEditorCutToClipboard(3), DtEditorDeselect(3), DtEditorPasteFromClipboard(3), DtEditorSelectAll(3), DtEditorUndoEdit(3). 

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