Re: Problem with missing symbol

2009-12-11 Thread Emmanuel Pinault
On Dec 10, 2009, at 2:45 PM, Lee Ann Rucker wrote: > > On Dec 10, 2009, at 1:24 PM, Emmanuel Pinault wrote: > >> >>> >>> Have you tried using [NSStatusItem setView:]? >>> >> >> >> setView is for custom view.. Because if I dont do a setView, the view >> Method return nil so far. And look

Re: Problem with missing symbol

2009-12-10 Thread Lee Ann Rucker
On Dec 10, 2009, at 1:24 PM, Emmanuel Pinault wrote: Have you tried using [NSStatusItem setView:]? setView is for custom view.. Because if I dont do a setView, the view Method return nil so far. And looking at the doc it mentions that it is for custom view. I am looking at someth

Re: Problem with missing symbol

2009-12-10 Thread Emmanuel Pinault
> > Have you tried using [NSStatusItem setView:]? > setView is for custom view.. Because if I dont do a setView, the view Method return nil so far. And looking at the doc it mentions that it is for custom view. I am looking at something similar called MAAAttachedWindow class made by some

Re: Problem with missing symbol

2009-12-10 Thread Lee Ann Rucker
On Dec 10, 2009, at 10:39 AM, Emmanuel Pinault wrote: I am trying to create a small item in the status bar, which when I click, I can show at a glance a small calendar... kind of like how Gnome does it. Really convenient and better than loading the full dashboard at times.. Anyway I usin

Re: Problem with missing symbol

2009-12-10 Thread Emmanuel Pinault
> I am trying to create a small item in the status bar, which when I click, I > can show at a glance a small calendar... kind of like how Gnome does it. > Really convenient and better than loading the full dashboard at times.. > Anyway I using rubycocoa and this is the code I am trying to have

Re: Problem with missing symbol

2009-12-10 Thread Emmanuel Pinault
On Dec 10, 2009, at 10:24 AM, lbland wrote: > > On Dec 10, 2009, at 1:15 PM, Emmanuel Pinault wrote: > >> How would you suggest I get the Frame information from the window then? > > hi- > > Don't know what you're up to, but this NSWindow method: > > +frameRectForContentRect:styleMask: > > h

Re: Problem with missing symbol

2009-12-10 Thread lbland
On Dec 10, 2009, at 1:15 PM, Emmanuel Pinault wrote: > How would you suggest I get the Frame information from the window then? hi- Don't know what you're up to, but this NSWindow method: +frameRectForContentRect:styleMask: has been around for a long time. also, this one: - frameRectForConte

Re: Problem with missing symbol

2009-12-10 Thread Emmanuel Pinault
On Dec 10, 2009, at 9:53 AM, Kyle Sluder wrote: > On Dec 10, 2009, at 9:46 AM, Emmanuel Pinault wrote: > >> This use to work in 10.5 .. I am using 10.6 and this is not linking due to >> missing symbol. What I do not get, is that the _fWindow is still an >> attribute in the NSSStatusItem... >

Re: Problem with missing symbol

2009-12-10 Thread Kyle Sluder
On Dec 10, 2009, at 9:46 AM, Emmanuel Pinault wrote: This use to work in 10.5 .. I am using 10.6 and this is not linking due to missing symbol. What I do not get, is that the _fWindow is still an attribute in the NSSStatusItem... It's not an attribute, it's an instance variable. Private

Problem with missing symbol

2009-12-10 Thread Emmanuel Pinault
Hi, I am trying for some specific reason to access a private attribute and make it public for my need with the following code in the .h #import @interface NSStatusItem (hack) - (NSRect)hackFrame; @end in the .m import "NSStatusItem+hack.h" @implementation NSStatusItem(hack) - (NSRect)ha