Re: NSWindow
Re: NSWindow
- Subject: Re: NSWindow
- From: j o a r <email@hidden>
- Date: Sat, 18 Jan 2003 19:05:04 +0100
You should listen for the NSWindowWillCloseNotification. If the window
has a delegate, it will get called with the "windowWillClose:" method
if implemented - it doesn't even have to sign up for the notification
explicitly. See the documentation for NSWindow (surprise...) and
NSNotificationCenter.
j o a r
On Saturday, Jan 18, 2003, at 18:50 Europe/Stockholm, Matis Schotte
wrote:
Which function is called when a window closes? i will bring up a
save/dont save dialog when a NSWindow closes by the user ...
thx for answers!! :)
_______________________________________________
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.
References: | |
| >NSWindow (From: Matis Schotte <email@hidden>) |