Re: Control the dirty/clean dot in the red "Close" button
Re: Control the dirty/clean dot in the red "Close" button
- Subject: Re: Control the dirty/clean dot in the red "Close" button
- From: Ian Anderson <email@hidden>
- Date: Tue, 1 Nov 2005 15:40:37 -0800
How about -[NSWindow setDocumentEdited:]?
Ian
Is there a way to control the clean/dirty dot inside the red
"Close" button
in the title bar of a window which is NOT associated with an
NSDocument?
Jerry Krinock
In case you want to know why I am not using NSDocument:
1. App started its life as not document-based. During its
evolution, I
have, one by one, implemented many of the features of NSDocument,
writing a
lot of perfectly good working code which I'd rather not have to
restructure
and retest.
2. App will never be fully document-based. For example, it will
only edit
a few particular files which are created by other applications; it
will
never implement "File > New". So I feel it may take much more than
the
usual amount of subclassing and over-riding to use NSDocument.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden