• 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: Any way to tell why a window is closing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Any way to tell why a window is closing?


  • Subject: Re: Any way to tell why a window is closing?
  • From: Scott Ribe <email@hidden>
  • Date: Mon, 21 Sep 2009 09:47:18 -0600
  • Thread-topic: Any way to tell why a window is closing?

> I think you can get the instance of the button, can't you? Then set a
> custom action on it.

And...

> Or actually, I vaguely remember there may be
> an API for getting the close button these days.

Ah, I see standardWindowButton now. I'd never noticed that when looking (I
think it didn't register with me that the "Managing Title Bars" section was
the relevant one).

Thanks.


--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Any way to tell why a window is closing? (From: Randall Meadows <email@hidden>)

  • Prev by Date: Re: an app that never quits
  • Next by Date: Re: Class for external monitor?
  • Previous by thread: Re: Any way to tell why a window is closing?
  • Next by thread: Re: Any way to tell why a window is closing?
  • Index(es):
    • Date
    • Thread