On Jan 27, 2012, at 8:51 AM, David Catmull wrote:

> I've looked into this too, and haven't found an answer yet. According to this 
> article, Xcode used to use a floating window trick:
> http://stackoverflow.com/questions/6169255/is-it-possible-to-draw-in-the-label-area-of-nstoolbar
> ..but it doesn't anymore. Also note that Instruments has a full-height 
> toolbar item, and that toolbar is fully customizable, so whatever tricks 
> they're using they were able to make it behave like a normal toolbar item - 
> cmd-draggable, in customize sheet, etc.

There's probably a private API for that. The bad news is that Apple apps use a 
lot of private APIs :( The good news is that these APIs often become public in 
later OS releases, especially if developers file bugs clamoring for them (hint 
hint).

—Jens

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to