Re: Drawers and Omniweb
Re: Drawers and Omniweb
- Subject: Re: Drawers and Omniweb
- From: David Remahl <email@hidden>
- Date: Mon, 13 Aug 2001 07:26:43 +0200
Those of you who use Omniweb should be able to help me with this.
In Omniweb, they use a drawer to display the history list. Firstly, I
had a look at the doco and I am not sure how to display a draw. Can
someone just tell me the basic steps.
Drag a drawer to your nib in IB.
Connect the drawer to its parentWindow.
call showDrawer:
(the above is pseudocode, i don't rememer the specifics...)
Secondly, what controls does Omniweb use within the drawer? Obviously
there is a NSTabView control but within that what are they using to
display the list of history sites and then if you click on the small
arrow on each site it expands to show the pages from that site?
Indeed it is an NSTableView, but a special type! Take a look at
NSOutlineView! There is also an apple example (or 2, rather):
DragNDropOutlineView (advanced)
and
OutlineView.
/hope this helps
// david