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

Re: Changing the position of a NSStatusItem


  • Subject: Re: Changing the position of a NSStatusItem
  • From: Olivier Lanctôt <email@hidden>
  • Date: Fri, 12 Nov 2004 16:28:44 -0500

Ok.. last thing I need to know is... what are the priorities
constants.. searched the headers and found none...

Hmmm!


On Fri, 12 Nov 2004 15:28:35 -0500, Kevin Ballard <email@hidden> wrote:
> Since you're going with hidden methods, I'd suggest looking at
> NSStatusBar's
>
> - (id)_statusItemWithLength:(float)fp8 withPriority:(int)fp12;
>
> rather than NSStatusItem, seeing how the standard method to create an
> NSStatusItem and insert it into the menubar is with NSStatusBar's
> -statusItemWithLength:.
>
>
>
> On Nov 12, 2004, at 1:46 PM, Olivier Lanctôt wrote:
>
> > 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?
>
> --
> Kevin Ballard
> email@hidden
> http://www.tildesoft.com
> http://kevin.sb.org
>
>
>


--
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: [SOLVED] Changing the position of a NSStatusItem
      • From: Olivier Lanctôt <email@hidden>
References: 
 >Changing the position of a NSStatusItem (From: Olivier Lanctôt <email@hidden>)
 >Re: Changing the position of a NSStatusItem (From: Kevin Ballard <email@hidden>)

  • Prev by Date: Re: Making NSBrowser more efficient
  • Next by Date: Cocoa Bindings Clarification
  • Previous by thread: Re: Changing the position of a NSStatusItem
  • Next by thread: Re: [SOLVED] Changing the position of a NSStatusItem
  • Index(es):
    • Date
    • Thread