Instance Method

setDocumentEdited:

Sets the document edited flag for the window controller.

Declaration

- (void)setDocumentEdited:(BOOL)dirtyFlag;

Parameters

flag

YES if the document has been edited since its last save, NO if it hasn't.

Discussion

The window controller uses this flag to control whether its associated window shows up as dirty. You should not call this method directly for window controllers with an associated document; the document calls this method on its window controllers as needed.

See Also

Accessing the Document

document

The document associated with the window controller.