Re: Dirty dot in close button
Re: Dirty dot in close button
- Subject: Re: Dirty dot in close button
- From: Joseph Spiros <email@hidden>
- Date: Tue, 10 Dec 2002 11:55:01 -0500
NSWindowController has the following method, which looks like it should
do exactly what you need it to:
setDocumentEdited:
- (void)setDocumentEdited:(BOOL)flag
Sets the document edited flag for the window controller. 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 NSDocument; NSDocument calls this method
on its window controllers as needed.
- Joe
On Tuesday, December 10, 2002, at 11:42 AM, Tom Gray wrote:
Sometimes I am embarrassed at my naive questions. Sigh. Anyway,
My application has both NSDocument windows and non-document windows.
My NSDocument windows display a black dot in the close button when the
document is "dirty". Is there a way I can enable that feature on my
subclass of a NSWindowController window?
Tom Gray
-------------
email@hidden
or
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
.................................................................
Joseph Spiros
President and CEO
iThink Software (ithinksw.com)
WWW:
http://josephspiros.com/
Home:
http://home.josephspiros.com/
E-Mail: email@hidden (email@hidden)
"As a wery old, I can fathom the scene to be with me. Looking always as
I ever did. It was not came's. He borrowed mine." -- Stark Delig
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.