• 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: Command+Dragging NSStatusItem in NSStatusBar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Command+Dragging NSStatusItem in NSStatusBar (From: Jones Curtis <email@hidden>)

  • Prev by Date: Command+Dragging NSStatusItem in NSStatusBar
  • Next by Date: Allowed Discussions between NDA members
  • Previous by thread: Command+Dragging NSStatusItem in NSStatusBar
  • Next by thread: Allowed Discussions between NDA members
  • Index(es):
    • Date
    • Thread