FROM : Jeremy
DATE : Mon Feb 25 22:30:36 2008
I.S.,
Surprisingly, yes. I referred to the documentation BEFORE asking here.
That was the only method that seemed like it would work, but it
doesn't. So, hopefully this can be done. I also tried changing the
title to the one action I want and setting the action but that didn't
work. So I'm stuck here. And that was the ONLY method I have tried.
Jeremy
"For a long time it puzzled me how something so expensive, so leading
edge, could be so useless, and then it occurred to me that a computer
is a stupid machine with the ability to do incredibly smart things,
while computer programmers are smart people with the ability to do
incredibly stupid things. They are, in short, a perfect match." - Bill
Bryson
On Feb 25, 2008, at 4:26 PM, I. Savant wrote:
>> How can I switch menus for an NSStatusItem programatically? So if the
>> user chooses to "quit" the application from the NSStatusItem I can
>> switch it's menu to be another menu with launch options.
>
> I admit I've never created a status item before, but have you tried
> the -setMenu: method referenced in the documentation?
>
> --
> I.S.
DATE : Mon Feb 25 22:30:36 2008
I.S.,
Surprisingly, yes. I referred to the documentation BEFORE asking here.
That was the only method that seemed like it would work, but it
doesn't. So, hopefully this can be done. I also tried changing the
title to the one action I want and setting the action but that didn't
work. So I'm stuck here. And that was the ONLY method I have tried.
Jeremy
"For a long time it puzzled me how something so expensive, so leading
edge, could be so useless, and then it occurred to me that a computer
is a stupid machine with the ability to do incredibly smart things,
while computer programmers are smart people with the ability to do
incredibly stupid things. They are, in short, a perfect match." - Bill
Bryson
On Feb 25, 2008, at 4:26 PM, I. Savant wrote:
>> How can I switch menus for an NSStatusItem programatically? So if the
>> user chooses to "quit" the application from the NSStatusItem I can
>> switch it's menu to be another menu with launch options.
>
> I admit I've never created a status item before, but have you tried
> the -setMenu: method referenced in the documentation?
>
> --
> I.S.
| Related mails | Author | Date |
|---|---|---|
| Jeremy | Feb 25, 22:24 | |
| I. Savant | Feb 25, 22:26 | |
| Jeremy | Feb 25, 22:30 | |
| I. Savant | Feb 25, 22:43 | |
| August Trometer | Feb 25, 22:44 | |
| Jeremy | Feb 25, 22:50 | |
| I. Savant | Feb 25, 22:58 | |
| Jeremy | Feb 25, 23:20 | |
| Jeremy | Feb 25, 23:36 | |
| I. Savant | Feb 26, 00:38 | |
| I. Savant | Feb 26, 00:40 |






Cocoa mail archive

