Re: Closing all windows when closing one of them
Re: Closing all windows when closing one of them
- Subject: Re: Closing all windows when closing one of them
- From: j o a r <email@hidden>
- Date: Sat, 18 Jun 2005 00:19:20 +0200
On 17 jun 2005, at 23.47, James Mastro wrote:
So what I was doing was just responding to windowWillClose: in my
main window controller, and calling this function from it:
- (void) closeAllWindows
You could change the way your method is declared to something like this:
- (void) closeAllWindowsInResponseToWindowBeingClosed:(NSWindow *)
aWindow
{
// Use your old code but check that ([windows objectAtIndex: x] !
= aWindow)
}
j o a r
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