• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSDrawer in System Pref Pane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSDrawer in System Pref Pane
      • From: Trygve Inda <email@hidden>
  • Prev by Date: Re: malloc during selectAll -> crash
  • Next by Date: Count of enumerator?
  • Previous by thread: RE: Menu States
  • Next by thread: Re: NSDrawer in System Pref Pane
  • Index(es):
    • Date
    • Thread