Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DtEditorClearSelection(3) — Digital UNIX 3.2c

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

DtEditor(5)

DtEditor(3)

DtEditorCopyToClipboard(3)

DtEditorCutToClipboard(3)

DtEditorDeselect(3)

DtEditorDeleteSelection(3)

DtEditorPasteFromClipboard(3)

DtEditorSelectAll(3)

DtEditorUndoEdit(3)

DtEditorClearSelection(3)  —  Subroutines

NAME

DtEditorClearSelection − clear the primary selection in a DtEditor widget

SYNOPSIS

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

DESCRIPTION

The DtEditorClearSelection() function replaces the primary selection in a DtEditor widget, specified by widget, with blanks (ASCII character 0x20) and newlines. 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: this is the required wording format for RETURN VALUE; I’ve altered your original - please be sure to check this ????
Upon successful completion, the DtEditorClearSelection() function returns False if the primary selection is NULL, or if the widget does not own the primary selection; otherwise, it returns True. 

SEE ALSO

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

  —  3 May 1994

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