Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dteditorclearselection(3) [hpux man page]

DtEditorClearSelection(library call)									      DtEditorClearSelection(library call)

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
Upon successful completion, the DtEditorClearSelection 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
Dt/Editor.h - DtEditor(5), DtEditor(3), DtEditorCopyToClipboard(3), DtEditorCutToClipboard(3), DtEditorDeselect(3), DtEditorDeleteSelec- tion(3), DtEditorPasteFromClipboard(3), DtEditorSelectAll(3), DtEditorUndoEdit(3). DtEditorClearSelection(library call)

Check Out this Related Man Page

DtEditorDeselect(library call)											    DtEditorDeselect(library call)

NAME
DtEditorDeselect -- deselect the current selection in a DtEditor widget SYNOPSIS
#include <Dt/Editor.h> Boolean DtEditorDeselect( Widget widget); DESCRIPTION
The DtEditorDeselect function deselects any currently selected text in a DtEditor widget. The entire contents of a DtEditor widget may be selected with DtEditorSelectAll(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 DtEditorDeselect 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
Dt/Editor.h - DtEditor(5), DtEditor(3), DtEditorClearSelection(3), DtEditorCopyToClipboard(3), DtEditorCutToClipboard(3), DtEditorDeleteSe- lection(3), DtEditorSelectAll(3). DtEditorDeselect(library call)
Man Page