<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments on: Doing a &#8220;Show Desktop&#8221; using Python&#8217;s libwnck bindings</title>
	<atom:link href="http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings</link>
	<description>scratched tallies on the prison wall</description>
	<pubDate>Thu, 08 Jan 2009 00:32:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: mibus</title>
		<link>http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings/comment-page-1#comment-99088</link>
		<dc:creator>mibus</dc:creator>
		<pubDate>Wed, 06 Jun 2007 05:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings#comment-99088</guid>
		<description>You need to run force_update() on the screen before pulling anything from it. If you run that before get_windows() it all works OK! :)</description>
		<content:encoded><![CDATA[<p>You need to run force_update() on the screen before pulling anything from it. If you run that before get_windows() it all works OK! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manuel</title>
		<link>http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings/comment-page-1#comment-69722</link>
		<dc:creator>Manuel</dc:creator>
		<pubDate>Fri, 09 Mar 2007 10:15:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings#comment-69722</guid>
		<description>Sugar ? what is ?</description>
		<content:encoded><![CDATA[<p>Sugar ? what is ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bj</title>
		<link>http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings/comment-page-1#comment-69626</link>
		<dc:creator>bj</dc:creator>
		<pubDate>Fri, 09 Mar 2007 04:36:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings#comment-69626</guid>
		<description>Manuel,

Trying to build sugar I presume?  I'm looking for it as well.</description>
		<content:encoded><![CDATA[<p>Manuel,</p>
<p>Trying to build sugar I presume?  I&#8217;m looking for it as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manuel Mazzuola</title>
		<link>http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings/comment-page-1#comment-69233</link>
		<dc:creator>Manuel Mazzuola</dc:creator>
		<pubDate>Thu, 08 Mar 2007 07:58:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings#comment-69233</guid>
		<description>Hi, where i can find tha API for the libwnck python module ??</description>
		<content:encoded><![CDATA[<p>Hi, where i can find tha API for the libwnck python module ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leon</title>
		<link>http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings/comment-page-1#comment-54125</link>
		<dc:creator>Leon</dc:creator>
		<pubDate>Sun, 28 Jan 2007 15:26:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings#comment-54125</guid>
		<description>Well, I the code provided by jiba. But, I got none windows:

leon@localhost ~/tmp_python $ python wm.max.py 

[]

Why ? But, the "Show Desktop" code works.</description>
		<content:encoded><![CDATA[<p>Well, I the code provided by jiba. But, I got none windows:</p>
<p>leon@localhost ~/tmp_python $ python wm.max.py </p>
<p>[]</p>
<p>Why ? But, the &#8220;Show Desktop&#8221; code works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jiba</title>
		<link>http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings/comment-page-1#comment-20592</link>
		<dc:creator>jiba</dc:creator>
		<pubDate>Wed, 18 Oct 2006 13:05:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings#comment-20592</guid>
		<description>mrben, sil: It seems that wnck can do that (or at least its API has the corresponding functions ;-)). It looks equivalent to devilspie, or slighly more detailed (e.g. for viewport).

It works ONLY if you have called gtk.main(), e.g. :

def run():
  print wnck.screen_get_default().get_windows()
  # do your job here
  gtk.main_quit()

gobject.idle_add(run)
gtk.main()</description>
		<content:encoded><![CDATA[<p>mrben, sil: It seems that wnck can do that (or at least its API has the corresponding functions ;-)). It looks equivalent to devilspie, or slighly more detailed (e.g. for viewport).</p>
<p>It works ONLY if you have called gtk.main(), e.g. :</p>
<p>def run():<br />
  print wnck.screen_get_default().get_windows()<br />
  # do your job here<br />
  gtk.main_quit()</p>
<p>gobject.idle_add(run)<br />
gtk.main()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sil</title>
		<link>http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings/comment-page-1#comment-10904</link>
		<dc:creator>sil</dc:creator>
		<pubDate>Wed, 14 Jun 2006 09:25:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings#comment-10904</guid>
		<description>mrben: wnck is an interface to the window manager, essentially. It's what the pager uses to know where windows are and so on. I'm not sure if it lets you alter an existing window; devilspie does that, but I don't know if it uses libwnck.</description>
		<content:encoded><![CDATA[<p>mrben: wnck is an interface to the window manager, essentially. It&#8217;s what the pager uses to know where windows are and so on. I&#8217;m not sure if it lets you alter an existing window; devilspie does that, but I don&#8217;t know if it uses libwnck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mrben</title>
		<link>http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings/comment-page-1#comment-10903</link>
		<dc:creator>mrben</dc:creator>
		<pubDate>Wed, 14 Jun 2006 08:39:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/06/13/doing-a-show-desktop-using-pythons-libwnck-bindings#comment-10903</guid>
		<description>Interesting; I'd not seen wnck - does it allow you to show windows fullscreen without menus, etc?</description>
		<content:encoded><![CDATA[<p>Interesting; I&#8217;d not seen wnck - does it allow you to show windows fullscreen without menus, etc?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
