Re: Multiple Toolbars
Re: Multiple Toolbars
- Subject: Re: Multiple Toolbars
- From: Chris Hanson <email@hidden>
- Date: Sat, 5 May 2007 23:01:21 -0700
On May 5, 2007, at 8:53 PM, Michael Novak wrote:
On 5/5/07, Chris Hanson <email@hidden> wrote:
These applications aren't really displaying multiple toolbars,
they're
just displaying a single toolbar along with another view (or
collection of views) beneath it.
very interesting.... thanks!
(I rearranged your response not to be a top-post so the conversation
retains its context, hope you don't mind.)
Just remember that prior to Mac OS X and Cocoa, neither its direct
ancestor OpenStep nor the Mac Toolbox had support for toolbars, but
developers implemented them themselves - including the kind of multi-
layer toolbars found in applications web browsers - all the way back
to the original MacWrite.
http://lowendmac.com/conachey/06/1115.html
NSToolbar just makes it a whole lot easier to create and maintain all
the expected toolbar functionality, and to implement all of it in a
standard fashion. Of course, since they're so common, Cocoa also
supports a word processor ruler that you can use via NSRulerView. You
can use the same technique - just a regular custom view along the top
of your window - to implement your own additional toolbar-style
functionality.
-- Chris
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden