<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">

<channel>
	<title>wolfg&#039;s Weblog &#187; pygtk</title>
	<atom:link href="http://guoyong.me/tag/pygtk/feed/" rel="self" type="application/rss+xml" />
	<link>http://guoyong.me</link>
	<description>wolfg&#039;s journey with open source, linux, programming, sysadm ...</description>
	<lastBuildDate>Wed, 04 Apr 2012 12:42:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/cn/</creativeCommons:license>		<item>
		<title>PyGTK里取得一个xpm图标的灰度图</title>
		<link>http://guoyong.me/python/pygtk%e9%87%8c%e5%8f%96%e5%be%97%e4%b8%80%e4%b8%aaxpm%e5%9b%be%e6%a0%87%e7%9a%84%e7%81%b0%e5%ba%a6%e5%9b%be/</link>
		<comments>http://guoyong.me/python/pygtk%e9%87%8c%e5%8f%96%e5%be%97%e4%b8%80%e4%b8%aaxpm%e5%9b%be%e6%a0%87%e7%9a%84%e7%81%b0%e5%ba%a6%e5%9b%be/#comments</comments>
		<pubDate>Wed, 18 Apr 2007 13:47:14 +0000</pubDate>
		<dc:creator>wolfg</dc:creator>
				<category><![CDATA[Dev]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[pygtk]]></category>

		<guid isPermaLink="false">http://guoyong.org/2007/04/18/313</guid>
		<description><![CDATA[最近用PyMaemo写一个N800上跑的程序时用到的： self.mote_pixbuf = gtk.gdk.pixbuf_new_from_xpm_data(MOTE_PIXMAP) self.mote_gray_pixbuf = self.mote_pixbuf.copy() self.mote_pixbuf.saturate_and_pixelate(self.mote_gray_pixbuf, 0.0, True)]]></description>
			<content:encoded><![CDATA[<p>最近用PyMaemo写一个N800上跑的程序时用到的：</p>
<div class="hl-surround"><ol class="hl-main ln-show" title="Double click to hide line number." ondblclick = "linenumber(this)"><li class="hl-firstline"><span style="color: Blue;">self</span><span style="color: Gray;">.</span><span style="color: Blue;">mote_pixbuf</span><span style="color: Gray;"> = </span><span style="color: Blue;">gtk</span><span style="color: Gray;">.</span><span style="color: Blue;">gdk</span><span style="color: Gray;">.</span><span style="color: Blue;">pixbuf_new_from_xpm_data</span><span style="color: Olive;">(</span><span style="color: Blue;">MOTE_PIXMAP</span><span style="color: Olive;">)</span></li>
<li><span style="color: Blue;">self</span><span style="color: Gray;">.</span><span style="color: Blue;">mote_gray_pixbuf</span><span style="color: Gray;"> = </span><span style="color: Blue;">self</span><span style="color: Gray;">.</span><span style="color: Blue;">mote_pixbuf</span><span style="color: Gray;">.</span><span style="color: Blue;">copy</span><span style="color: Olive;">()</span></li>
<li><span style="color: Blue;">self</span><span style="color: Gray;">.</span><span style="color: Blue;">mote_pixbuf</span><span style="color: Gray;">.</span><span style="color: Blue;">saturate_and_pixelate</span><span style="color: Olive;">(</span><span style="color: Blue;">self</span><span style="color: Gray;">.</span><span style="color: Blue;">mote_gray_pixbuf</span><span style="color: Gray;">, </span><span style="color: Maroon;">0.0</span><span style="color: Gray;">, </span><span style="color: Green;">True</span><span style="color: Olive;">)</span></li></ol></div>
<p><a href='http://guoyong.org/blog/wp-content/uploads/screenshot00.png' title='colored' rel="lightbox[313]"><img src='http://guoyong.org/blog/wp-content/uploads/screenshot00.thumbnail.png' alt='colored' /></a></p>
<p><a href='http://guoyong.org/blog/wp-content/uploads/screenshot01.png' title='grayed' rel="lightbox[313]"><img src='http://guoyong.org/blog/wp-content/uploads/screenshot01.thumbnail.png' alt='grayed' /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://guoyong.me/python/pygtk%e9%87%8c%e5%8f%96%e5%be%97%e4%b8%80%e4%b8%aaxpm%e5%9b%be%e6%a0%87%e7%9a%84%e7%81%b0%e5%ba%a6%e5%9b%be/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.471 seconds -->

