Re: Drawer Behavior (Possible Solution)
Re: Drawer Behavior (Possible Solution)
- Subject: Re: Drawer Behavior (Possible Solution)
- From: Scott Anguish <email@hidden>
- Date: Wed, 30 May 2001 03:04:44 -0400
On Wednesday, May 30, 2001, at 12:27 AM, Brendan Younger wrote:
I was poking around in the .nib files for OmniWeb and Mail and perhaps
came across a solution to the whole IB drawer problem. Both Mail and
OmniWeb implement their drawers as a panel and a window respectively.
Perhaps it would be best to do the same and simply use the top level
view of the window with setContentView and setParentWindow to
programmatically add the drawer. Haven't tried it yet, but it *should*
work. Best of luck.
Note that with InterfaceBuilder 2.0 (the version that shipped with
OS X) you no longer need to put these top level views in a window..
instead you can put them directly into the nib window (where your window
items would appear)..