Re: 1 controller, 1 nib, 2 windows?
Re: 1 controller, 1 nib, 2 windows?
- Subject: Re: 1 controller, 1 nib, 2 windows?
- From: Scott Ribe <email@hidden>
- Date: Thu, 11 Nov 2004 16:15:11 -0700
> NSWindowController uses the _window outlet for showWindow cascading
> the windows in relation to other window controllers, and interaction
> with the NSDocument. Notice that applying showWindow will only work
> on the window that is connected, unless of course you override it to
> take into account your second window. But if you aren't planning on
> using anything fancy, then you will be fine.
Nothing fancy like that. In fact, the windows in question are dialogs that
will only be used as sheets--not much opportunity for cascading or layering
options there ;-) Even if it were, I suppose I could add window1 & window2
outlets, hook those up in IB, then setWindow with the currently needed one
before calling showWindow.
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 665-7007 voice
_______________________________________________
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