• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Control the dirty/clean dot in the red "Close" button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Control the dirty/clean dot in the red "Close" button (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Control the dirty/clean dot in the red "Close" button
  • Next by Date: Re: Objective C++ memory management
  • Previous by thread: Re: Control the dirty/clean dot in the red "Close" button
  • Next by thread: makeing a copy of an object...
  • Index(es):
    • Date
    • Thread