Adding a drawer to a window?
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.