DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

DtEditorClearSelection(3)




DtEditorClearSelection(C)LIBRARY FUNCTIODtEditorClearSelection(3)

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 DtEditorSelec-
     tAll(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  selec-
     tion, it returns False.

SEE ALSO
     DtEditor(5), DtEditor(3), DtEditorCopyToClipboard(3), DtEdi-
     torCutToClipboard(3), DtEditorDeselect(3),	DtEditor-
     DeleteSelection(3), DtEditorPasteFromClipboard(3),	DtEditor-
     SelectAll(3), DtEditorUndoEdit(3).

Unix System LaboratoLast change: 1 August 1995			1


Man(1) output converted with man2html