Re: [Gtk-osx-users] StatusIcon, popup menu does not get focus
- From: Antoine Martin <antoine nagafix co uk>
- To: John Ralls <jralls ceridwen us>
- Cc: gtk-osx-users lists sourceforge net
- Subject: Re: [Gtk-osx-users] StatusIcon, popup menu does not get focus
- Date: Fri, 27 May 2011 12:49:02 +0700
On 05/17/2011 10:03 PM, John Ralls wrote:
> On May 17, 2011, at 12:32 AM, Antoine Martin wrote:
>> On 05/12/2011 07:35 PM, John Ralls wrote:
>>> On May 12, 2011, at 5:43 AM, Antoine Martin wrote:
>>>>> I've attached my revised test-statusicon.py. Try it and see if you can get the "Icon Activated" message.
>>>> I'll give it a go asap (a week or two).
>> I couldn't get it to fire... I must have imagined it.
>>>>> No, in bugzilla against Gtk. It's a gtk bug, not a gtk-osx bug.
>>>> Found an existing bug so I added info there, looks like the same issue:
>>> Great, thanks.
>> The suggested patch sounds like it should solve the problem:
>> But it doesn't seem to be making any difference for me. Can you double
>> Is there any way we can force the application to become active when the
>> status icon is clicked? Whatever currently makes
>> NSApplicationDidBecomeActive fire?
> Can we keep the discussion about that on the bug? It's not really a gtk-osx issue, and AFAIK Paul doesn't read this list.
Yes, sorry about that and about the delay for this response.
I was just hoping that someone could confirm my findings before posting.
(bug has now been updated)
> As for getting the application to become active, the statusicon emits a POPUP_MENU_SIGNAL when it's clicked.
> You can handle that anyway you like.
Yes, I can do anything I like when I get the event, I just don't know
what OSX api to call to make the application active.
> John Ralls
] [Thread Prev