• 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
NSToolbar Design
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSToolbar Design


  • Subject: NSToolbar Design
  • From: Matthew Cox <email@hidden>
  • Date: Tue, 5 Mar 2002 18:16:07 -0500

I am curious to know why Apple did not implement NSToolbar and NSToolbarItem as subclasses of NSView. This would seem to allow developers to specialize the functionality of toolbars, as well as modify event behavior. Since neither of those two classes inherit NSView, it would seem that the window displaying them draws the toolbars. Is this so?

If toolbars inherited classes like NSView and NSResponder, the toolbar itself could be modified to allow, for example, them to act as destinations for drag & drop. Or they could be graphically modified to insert a silk screened image onto the piping.

So, why is NSToolbar implemented as a direct descendent of NSObject, and is there a workaround to specialize the event handling and appearance of toolbars?
_______________________________________________
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: NSToolbar Design
      • From: j o a r <email@hidden>
    • Re: NSToolbar Design
      • From: Eric Peyton <email@hidden>
  • Prev by Date: Re: new ascending/descending sort images?
  • Next by Date: Re: NSToolbar Design
  • Previous by thread: USB-to-SCSI converters supported?
  • Next by thread: Re: NSToolbar Design
  • Index(es):
    • Date
    • Thread