Query: dteditorcheckforunsavedchanges
OS: hpux
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DtEditorCheckForUnsavedChanges(library call) DtEditorCheckForUnsavedChanges(library call)NAMEDtEditorCheckForUnsavedChanges -- report whether text has been editedSYNOPSIS#include <Dt/Editor.h> Boolean DtEditorCheckForUnsavedChanges( Widget widget);DESCRIPTIONThe DtEditorCheckForUnsavedChanges function reports whether the text contained in the edit window of a DtEditor widget has been modified since the last call to DtEditorGetContents(3) or DtEditorSaveContentsToFile(3), including inserting, deleting or moving text with the key- board or mouse. For information about retrieving the text without affecting whether DtEditorCheckForUnsavedChanges reports that all changes have been saved, see DtEditorGetContents(3) and DtEditorSaveContentsToFile(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 VALUEUpon successful completion, the DtEditorCheckForUnsavedChanges function returns True if changes have been made to the contents of the DtEd- itor widget since the last call to DtEditorGetContents(3) or DtEditorSaveContentsToFile(3); otherwise, it returns False.SEE ALSODt/Editor.h - DtEditor(5), DtEditor(3), DtEditorGetContents(3), DtEditorSaveContentsToFile(3). DtEditorCheckForUnsavedChanges(library call)
Related Man Pages |
---|
dteditorcheckforunsavedchanges(3) - hpux |
dteditorcopytoclipboard(3) - hpux |
dteditordeleteselection(3) - hpux |
dteditorselectall(3) - hpux |
dteditorsetcontentsfromfile(3) - hpux |
Similar Topics in the Unix Linux Community |
---|
deleting text between ; and : |
VI Editor Help? |
Help with deleting characters from text file |