<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>五四陈科学院-坚信科学，分享技术 &#187; 系统托盘实现</title>
	<atom:link href="http://www.54chen.com/tag/%e7%b3%bb%e7%bb%9f%e6%89%98%e7%9b%98%e5%ae%9e%e7%8e%b0/feed" rel="self" type="application/rss+xml" />
	<link>http://www.54chen.com</link>
	<description>PHP、JAVA、缓存、架构、经验、分享</description>
	<lastBuildDate>Sat, 11 Feb 2012 17:09:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>linux下系统托盘的实现</title>
		<link>http://www.54chen.com/web-ral/linux-system-tray-under-the-realization-of.html</link>
		<comments>http://www.54chen.com/web-ral/linux-system-tray-under-the-realization-of.html#comments</comments>
		<pubDate>Fri, 13 Oct 2006 14:47:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WEB相关]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[系统托盘实现]]></category>

		<guid isPermaLink="false">http://www.54chen.com/web-ral/linux-system-tray-under-the-realization-of.html</guid>
		<description><![CDATA[<a href="http://www.54chen.com"><img border="0" src="http://www.54chen.com/wp-content/themes/54chen2011/images/54chen-logo.gif"></a><br>以下内容由<a href="http://www.54chen.com">[五四陈科学院]</a>提供<br>[文章作者：陈臻 本文版本：v1.0 最后修改：2006.10.13 转载请注明原文链接：http://www.54chen.com/c/24] 在gnome中国的网页上找到这个内容，他们把它叫做“通知功能图标”。它是一个在未来版本中决定发布的已实现包。 http://www.gnome-cn.org/documents/tutorial/system-tray-icon-application/implement-your-tray 具体实现前需要在下载两个开发补丁源文件，然后包含头文件到你的文件中。 具体代码： void create_tray (tray_demo * tray) { GtkWidget *image; GtkWidget *event_box; GtkTooltips *tooltips; EggTrayIcon *tray_icon; tooltips = gtk_tooltips_new (); tray_icon = egg_tray_icon_new ("Tray icon demo"); event_box = gtk_event_box_new (); gtk_container_add (GTK_CONTAINER (tray_icon), event_box); &#8230;<br><br>想快点找到作者也可以到Twitter上留言: <a href="https://www.twitter.com/54chen" target="_blank">@54chen</a><br>或者你懒得带梯子上墙，请到新浪微博：<a href="http://t.sina.com.cn/54chen" target="_blank">@54chen</a>]]></description>
			<content:encoded><![CDATA[<a href="http://www.54chen.com"><img border="0" src="http://www.54chen.com/wp-content/themes/54chen2011/images/54chen-logo.gif"></a><br>以下内容由<a href="http://www.54chen.com">[五四陈科学院]</a>提供<br><p>[文章作者：陈臻 本文版本：v1.0 最后修改：2006.10.13 转载请注明原文链接：<a href="http://www.54chen.com/c/24">http://www.54chen.com/c/24</a>]<br />
在gnome中国的网页上找到这个内容，他们把它叫做“通知功能图标”。它是一个在未来版本中决定发布的已实现包。</p>
<p>http://www.gnome-cn.org/documents/tutorial/system-tray-icon-application/implement-your-tray</p>
<p>具体实现前需要在下载两个开发补丁源文件，然后包含头文件到你的文件中。<br />
具体代码：<br />
void<br />
create_tray (tray_demo * tray)<br />
{<br />
GtkWidget *image;<br />
GtkWidget *event_box;<br />
GtkTooltips *tooltips;<br />
EggTrayIcon *tray_icon;<br />
tooltips = gtk_tooltips_new ();<br />
tray_icon = egg_tray_icon_new ("Tray icon demo");<br />
event_box = gtk_event_box_new ();<br />
gtk_container_add (GTK_CONTAINER (tray_icon), event_box);<br />
g_signal_connect (G_OBJECT (event_box), "button-press-event",<br />
G_CALLBACK (tray_button_press_event_cb), tray);<br />
gtk_tooltips_set_tip (GTK_TOOLTIPS(tooltips), event_box, _("Try a left/right click"), NULL);<br />
image = load_image (GCN_ICON);<br />
gtk_container_add (GTK_CONTAINER (event_box), image);<br />
gtk_widget_show_all (GTK_WIDGET (tray_icon));<br />
return;<br />
}</p>
<br><br>想快点找到作者也可以到Twitter上留言: <a href="https://www.twitter.com/54chen" target="_blank">@54chen</a><br>或者你懒得带梯子上墙，请到新浪微博：<a href="http://t.sina.com.cn/54chen" target="_blank">@54chen</a>]]></content:encoded>
			<wfw:commentRss>http://www.54chen.com/web-ral/linux-system-tray-under-the-realization-of.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

