Re: setShouldCascadeWindows: Not Working
Re: setShouldCascadeWindows: Not Working
- Subject: Re: setShouldCascadeWindows: Not Working
- From: Georg Tuparev <email@hidden>
- Date: Wed, 27 Oct 2004 20:08:18 +0200
NSWindowController's designated initializer is
- (id)initWithWindow:(NSWindow *)window
gt
On Oct 27, 2004, at 7:14 PM, Oliver Cameron wrote:
Hi guys,
I'm trying to make my NSWindowController cascade its windows, so in my
subclass I do:
- (id)init
{
[self setupController];
[self setShouldCascadeWindows:YES];
return self;
}
(I also tried the method in awakeFromNib:)
Note the method right at the bottom. Just using this didn't seem to
work, so I wondered if it was the way I was creating my
NSWindowController instance, this is how I currently do it:
WindowController *windowController = [[WindowController alloc] init];
[windowController showWindow:nil];
And this loads the window and shows it, but the window shows up in the
same position as the others.
I have no idea what could be wrong, so any ideas appreciated.
Thanks,
Oliver
_______________________________________________
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
-- georg --
"War is God's way of teaching Americans about geography."
Ambrose Bierce, writer (1842-1914)
_______________________________________________
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