• 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
Adding a drawer to a window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding a drawer to a window?


  • Subject: Adding a drawer to a window?
  • From: Gerben Wierda <email@hidden>
  • Date: Tue, 20 Aug 2002 23:58:58 +0200

According to the IB FAQ:

If you want to add a drawer to an existing window, just drag in the NSDrawer object (the one that says NSDrawer) and a custom view object. You'll use the custom view object as the content view for the drawer. Connect the NSDrawer's contentView and parentWindow to the custom view and existing window respectively.

my apologies but I do not quite get this (it has been a long time since I used custom views). I tried the following:

1. Dragged a drawer to my nib window
2. Dragged a Custom View to my nib window
3. Set Custom View to be of type NSTableView
4. Connected Drawer object to the window and the custom view as described above

Not wanting to destroy a working setup at this stage I did not save my work and quit. Because I could not find a way to actually set the specifics of the NSTableView (colums etc). I could connect my File's Owner to the Custom View (there is an outlet in my File's Owner class for the NSTableView involved)/

Am I on the right track?

Thanks,

G
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Adding a drawer to a window?
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: How to make an NSColor correspond to a grayscale value?
  • Next by Date: Re: How to make an NSColor correspond to a grayscale value?
  • Previous by thread: Re: How to make an NSColor correspond to a grayscale value?
  • Next by thread: Re: Adding a drawer to a window?
  • Index(es):
    • Date
    • Thread