<?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>chrisjrn&#039;s site &#187; gui</title>
	<atom:link href="http://chris.neugebauer.id.au/tags/gui/feed/" rel="self" type="application/rss+xml" />
	<link>http://chris.neugebauer.id.au</link>
	<description>Indeed it is.</description>
	<lastBuildDate>Tue, 24 Jan 2012 23:06:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Pythonic UIs</title>
		<link>http://chris.neugebauer.id.au/2009/08/13/pythonic-uis/</link>
		<comments>http://chris.neugebauer.id.au/2009/08/13/pythonic-uis/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 06:57:18 +0000</pubDate>
		<dc:creator>Christopher Neugebauer</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://chris.neugebauer.id.au/2009/08/13/pythonic-uis/</guid>
		<description><![CDATA[I&#8217;ve just been reading Richard Jones&#8217; current project, where he&#8217;s implementing a very Pythonic way of creating GUIs (for example, managing gui contexts using Python&#8217;s context managers). I&#8217;m very very excited, and I hope this sample code shows why: with &#8230; <a href="http://chris.neugebauer.id.au/2009/08/13/pythonic-uis/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just been reading <a href="http://www.mechanicalcat.net/richard/log/Python/Something_I_m_working_on.4">Richard Jones&#8217; current project</a>, where he&#8217;s implementing a very Pythonic way of creating GUIs (for example, managing gui contexts using Python&#8217;s <a href="http://www.python.org/dev/peps/pep-0343/">context managers</a>).  I&#8217;m very very excited, and I hope this sample code shows why:</p>
<pre>with gui.form() as form: name = gui.row('Name', gui.text()) skill = gui.row('Skill level', gui.selection(['Awesome', 'Radical', 'Understated'])) @gui.submit('OK') def on_click(button): print 'Got name=%r'%name.value print 'Got skill=%r'%form['skill'].value gui.stop(0) @gui.cancel('Cancel') def on_click(button): gui.stop(1) </pre>
<p>Take a look at what this code does at <a href="http://www.mechanicalcat.net/richard/log/Python/Something_I_m_working_on.4">Richard Jones&#8217; weblog.</a>  It&#8217;s pretty awesome.</p>
]]></content:encoded>
			<wfw:commentRss>http://chris.neugebauer.id.au/2009/08/13/pythonic-uis/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

