*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> DtEditorCheckForUnsavedChanges (3)              
Title
Content
Arch
Section
 

Contents


 DtEditorCheckForUnsavedChanges(lDitbErdairtyorcCahlelc)kForUnsavedChanges(library call)




 NAME    [Toc]    [Back]
      DtEditorCheckForUnsavedChanges - report whether text has been edited

 SYNOPSIS    [Toc]    [Back]
      #include <Dt/Editor.h>
      Boolean DtEditorCheckForUnsavedChanges(
      Widget widget);

 DESCRIPTION    [Toc]    [Back]
      The 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 keyboard 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 VALUE    [Toc]    [Back]
      Upon successful completion, the DtEditorCheckForUnsavedChanges
      function returns True if changes have been made to the contents of the
      DtEditor widget since the last call to DtEditorGetContents(3) or
      DtEditorSaveContentsToFile(3); otherwise, it returns False.

 SEE ALSO    [Toc]    [Back]
      Dt/Editor.h - DtEditor(5), DtEditor(3), DtEditorGetContents(3),
      DtEditorSaveContentsToFile(3).


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
DXmCSTextGetEditable Tru64 Indicates whether the text in the compound string text widget can be edited by the user.
DXmCSTextSetEditable Tru64 Specifies whether the text in the widget can be edited by the user.
DXmCSTextSetString Tru64 Replaces all the text in the compound string text widget with new text.
XmTextReplaceWcs HP-UX A Text function that replaces part of a wide character string in a Text widget
XmTextCut Tru64 A Text function that copies the primary selection to the clipboard and deletes the selected text
XmTextReplaceWcs IRIX A Text function that replaces part of a wide character string in a Text widget
XmTextGetStringWcs HP-UX A Text function that retrieves a copy of the wide character string value of a Text widget
XmTextCut IRIX A Text function that copies the primary selection to the clipboard and deletes the selected text
XmTextGetSubstringWcs IRIX A Text function that retrieves a portion of a wide character internal text buffer
XmTextGetStringWcs Tru64 A Text function that retrieves a copy of the wide character string value of a Text widget
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service