mail-archives/mono-list/2005-February/025720.html

78 строки
3.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-list] mono and systray icon
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:peter%40novonyx.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="025723.html">
<LINK REL="Next" HREF="025722.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-list] mono and systray icon
</H1>
<B>Peter Dennis Bartok
</B>
<A HREF="mailto:peter%40novonyx.com"
TITLE="[Mono-list] mono and systray icon">peter@novonyx.com
</A><BR>
<I>Mon, 14 Feb 2005 12:07:55 -0700</I>
<P><UL>
<LI> Previous message: <A HREF="025723.html">[Mono-list] mono and systray icon
</A></li>
<LI> Next message: <A HREF="025722.html">[Mono-list] mono and systray icon
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#25720">[ date ]</a>
<a href="thread.html#25720">[ thread ]</a>
<a href="subject.html#25720">[ subject ]</a>
<a href="author.html#25720">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>&gt;&gt;<i> I think the point is that it works on *both* Windows and Linux.
</I>&gt;<i>I guess the point is to get something working and doing what you intend it
</I>&gt;<i>to do. Whether it works under Linux or Windows, is a matter of the
</I>&gt;<i>programmer's judgement, goals, personal preferences etc - therefore it is
</I>&gt;<i>not a subject for this list.
</I>
&gt;<i>Alex, muine uses a C library to integrate with the systray, it's called
</I>&gt;<i>libegg. To my best knowledge, this is currently the only way to get it done
</I>&gt;<i>(C/C++ programs use it as well). Of course, you are free to implement a
</I>&gt;<i>managed implementation of the systray protocol as per the specs - that
</I>&gt;<i>would
</I>&gt;<i>probably require you to use p/invoke to access the X11 API, though.
</I>&gt;<i>The egg library in the muine sources can be found in libmuine/egg/
</I>
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.
Also, Todd Berman of MonoDevelop fame wrote a managed implementation for Gtk
without requiring libegg. It can be found
here:<A HREF="http://codeblogs.ximian.com/blogs/tberman/archives/TrayIcon.cs">http://codeblogs.ximian.com/blogs/tberman/archives/TrayIcon.cs</A>
Cheers,
Peter
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="025723.html">[Mono-list] mono and systray icon
</A></li>
<LI> Next message: <A HREF="025722.html">[Mono-list] mono and systray icon
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#25720">[ date ]</a>
<a href="thread.html#25720">[ thread ]</a>
<a href="subject.html#25720">[ subject ]</a>
<a href="author.html#25720">[ author ]</a>
</LI>
</UL>
</body></html>