NSDrawer in System Pref Pane
NSDrawer in System Pref Pane
- Subject: NSDrawer in System Pref Pane
- From: Trygve Inda <email@hidden>
- Date: Thu, 11 May 2006 15:02:15 +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]];
But that fails too. I get no hard error, but the drawer does not open when I
click a button whose action is tied to toggle the drawer.
Any thoughts?
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