• 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
Re: NSDrawer in System Pref Pane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSDrawer in System Pref Pane
      • From: "I. Savant" <email@hidden>
References: 
 >NSDrawer in System Pref Pane (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: Count of enumerator?
  • Next by Date: Continuing woes with NSMutableURLRequest -- how to file bug report?
  • Previous by thread: NSDrawer in System Pref Pane
  • Next by thread: Re: NSDrawer in System Pref Pane
  • Index(es):
    • Date
    • Thread