Re: NSDrawer in System Pref Pane
Re: NSDrawer in System Pref Pane
- Subject: Re: NSDrawer in System Pref Pane
- From: Trygve Inda <email@hidden>
- Date: Thu, 11 May 2006 15:22:08 +0000
- Thread-topic: NSDrawer in System Pref Pane
> I am trying to open a drawer attached to the System prefs pane window.
>
> In my nib is a drawer and NSView for the content. I have setup an outlet in
> my File's Owner (MyPrefPaneClass) previewDrawer.
>
> I tried setting the parentWindow of the drawer to the PrefPane window in my
> nib but that didn't work so in mainViewDidLoad I tried
>
> [previewDrawer setParentWindow:[[self mainView] window]];
>
A follow-up here...
[previewDrawer setParentWindow:[[self mainView] window]];
[previewDrawer open];
Does work, but only in response to a button click. It does not work in
mainViewDidLoad. How can I get the drawer to open upon opening my pref pane?
Thanks,
Trygve
_______________________________________________
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