DtEditorReset(library call) DtEditorReset(library call)
NAME [Toc] [Back]
DtEditorReset - reset a DtEditor widget to its default state
SYNOPSIS [Toc] [Back]
#include <Dt/Editor.h>
void DtEditorReset(
Widget widget);
DESCRIPTION [Toc] [Back]
The DtEditorReset function deletes the contents of a DtEditor widget,
resets the undo edit function, clears the last string searched for
plus the last replacement string.
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 [Toc] [Back]
The DtEditorReset function returns no value.
APPLICATION USAGE [Toc] [Back]
The DtEditorReset is analogous to destroying a DtEditor widget and
creating a new one with the current resource settings. It is useful
when reusing a DtEditor widget.
SEE ALSO [Toc] [Back]
Dt/Editor.h - DtEditor(5), DtEditor(3).
- 1 - Formatted: January 24, 2005 [ Back ] |