• 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
Changing the position of a NSStatusItem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing the position of a NSStatusItem


  • Subject: Changing the position of a NSStatusItem
  • From: Olivier Lanctôt <email@hidden>
  • Date: Fri, 12 Nov 2004 13:46:25 -0500

Hello list,

I'm wondering how some apps change the position of their NSStatusItems.

>From what IMve seen class dumped, the answer lies in the private method:

@interface NSStatusItem (NSStatusItem_Private)
- (id)_initInStatusBar:(id)fp8 withLength:(float)length
withPriority:(int)priority;
<snip>
@end

But I have no idea what the priority argument needs to be.. I tried
-1, 0, 10, 100....

Any pointers?

Thanks!

--
Olivier
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Changing the position of a NSStatusItem
      • From: Kevin Ballard <email@hidden>
  • Prev by Date: Re: Get the window at a certain point
  • Next by Date: Making NSBrowser more efficient
  • Previous by thread: Re: *Editable* rotated text
  • Next by thread: Re: Changing the position of a NSStatusItem
  • Index(es):
    • Date
    • Thread