[Mono-osx] Gtk# StatusIcon and Events

Michael Hutchinson m.j.hutchinson at gmail.com
Tue Jul 20 16:21:59 EDT 2010


On Tue, Jul 20, 2010 at 1:19 PM, KenKen <kenneth at hexad.dk> wrote:
>
> Hi there.
>
> I am trying to get an app running on OSX, using Winforms.
> Unfortunately the NotifyIcon is not supported on OSX,
> so I have used the Gtk# StatusIcon instead.
>
> I can get the icon to show fine, and most of the app works.
>
> However, I cannot get the menu to activate.
> It is as if the "Activate" and "PopupMenu" events are
> are never raised.
>
> Can someone confirm that they are never raised,
> or is there something I need to do?

You can't just mix GTK and Winforms like that. They have different
mainloops, and integrating them reliably would likely be nontrivial.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Mono-osx mailing list