Re: Command+Dragging NSStatusItem in NSStatusBar
Re: Command+Dragging NSStatusItem in NSStatusBar
- Subject: Re: Command+Dragging NSStatusItem in NSStatusBar
- From: Brian Ganninger <email@hidden>
- Date: Thu, 8 Mar 2007 02:29:13 -0600
This is an oft-discussed difference. NSStatusItems are the publicly
available API for menu extensions, the movable ones are a private
subclass, NSMenuExtra, that only Apple has official access to. You
can write your own, but it's a private API, standard warnings apply
(and it requires an enabling 'hack'.) There are lots of posts and
tutorials regarding this, look for menu extras. If you're not a fan
of this (I'm not) you should file a Radar issue (via Apple's Bug
Reporter interface) regarding it to let them know you'd like the API
exposed, and why.
- brian 'bgannin' ganninger
On Mar 8, 2007, at 2:17 AM, Jones Curtis wrote:
So, the various icons that Apple utilities place in the
systemStatusBar can all be re-ordered by Command+Dragging; my
NSStatusItem can not. It simply doesn't react to dragging at all.
I've looked around and I can't find any mention regarding
supporting this.
I also noticed that two 3rd party utilities that I'm using, Growl
and Teleport, also do not support dragging - so, I'm guessing that
I'm not missing something totally obvious.
Any ideas?
Thanks.
--
Curtis Jones
email@hidden
_______________________________________________
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:
40mac.com
This email sent to email@hidden
_______________________________________________
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