[Mono-list] mono and systray icon

Alex Roman allex2k3@yahoo.ca
Mon, 14 Feb 2005 14:29:18 -0500

On Mon, 2005-02-14 at 20:21 +0100, Marek Habersack wrote:
> On Mon, Feb 14, 2005 at 12:07:55PM -0700, Peter Dennis Bartok scribbled:
> > >> I think the point is that it works on *both* Windows and Linux.
> > >I guess the point is to get something working and doing what you intend it
> > >to do. Whether it works under Linux or Windows, is a matter of the
> > >programmer's judgement, goals, personal preferences etc - therefore it is
> > >not a subject for this list.
> > 
> > >Alex, muine uses a C library to integrate with the systray, it's called
> > >libegg. To my best knowledge, this is currently the only way to get it done
> > >(C/C++ programs use it as well). Of course, you are free to implement a
> > >managed implementation of the systray protocol as per the specs - that 
> > >would
> > >probably require you to use p/invoke to access the X11 API, though.
> > >The egg library in the muine sources can be found in libmuine/egg/
> > 
> > You missed Jonathan's point, which was that SWF contains code is there Linux 
> > as well, not just for Windows, and it's all managed and free for the taking. 
> Noted, thanks. I missed it indeed.
> > Also, Todd Berman of MonoDevelop fame wrote a managed implementation for Gtk 
> > without requiring libegg. It can be found 
> > here:http://codeblogs.ximian.com/blogs/tberman/archives/TrayIcon.cs

I got that last night from tberman (Todd Berman, I assume) from the
#mono channel, yet that one is not fully freedesktop.org compliant. It
does not show up in fluxbox. libegg does though :)

> Excellent, thanks for pointing that out.
> regards,
> marek