Re: Any way to tell why a window is closing?
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