• 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
Re: Subclassing NSToolBar.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subclassing NSToolBar.


  • Subject: Re: Subclassing NSToolBar.
  • From: Ali Ozer <email@hidden>
  • Date: Fri, 5 Oct 2001 13:08:53 -0700

> So, it looks like Apple uses NSToolbar for System Preferences now, and
> if you look at the header for NSToolbar you'll find that it has some
> interesting new flags like "clickAndDragPerformsCustomization",
> "showsNoContextMenu", and "firstMoveableItemIndex". If you set those up
> appropriately by adding category methods to NSToolbar, and then you
> figure out that the toolbar view accepts drags of the
> "NSToolbarItemIdentiferPboardType", so you can implement your own
> equivalent to the customization sheet, you can do quite a bit without
> having to even subclass NSToolbar.

Sigh, those bits are private and definitely likely to move in a future
release...
Ali


  • Follow-Ups:
    • Re: Subclassing NSToolBar.
      • From: Greg Titus <email@hidden>
    • Re: Subclassing NSToolBar.
      • From: "John C. Randolph" <email@hidden>
References: 
 >Re: Subclassing NSToolBar. (From: Greg Titus <email@hidden>)

  • Prev by Date: Re: IB, exclamation points, and targets
  • Next by Date: Re: IB, exclamation points, and targets
  • Previous by thread: Re: Subclassing NSToolBar.
  • Next by thread: Re: Subclassing NSToolBar.
  • Index(es):
    • Date
    • Thread