<?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>Giuseppe Coviello &#187; python</title>
	<atom:link href="http://osl.uniparthenope.it/people/cjg/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>http://osl.uniparthenope.it/people/cjg</link>
	<description>... from this day to the ending of the world, But we in it shall be remember&#039;d; We few, we happy few, we band of brothers; For he to-day that sheds his blood with me Shall be my brother ...</description>
	<lastBuildDate>Mon, 14 Jun 2010 17:58:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Writing a browser in less than a minute</title>
		<link>http://osl.uniparthenope.it/people/cjg/2009/02/writing-a-browser-in-less-than-a-minute/</link>
		<comments>http://osl.uniparthenope.it/people/cjg/2009/02/writing-a-browser-in-less-than-a-minute/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 16:58:50 +0000</pubDate>
		<dc:creator>cjg</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[gtk]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[webkit]]></category>

		<guid isPermaLink="false">http://cjg.cruxppc.org/?p=162</guid>
		<description><![CDATA[I wanted just to test WebKit, but instead of getting a browser based on that project I decided to test directly the (gtk) widget using python and I was impressed how it is simple and fast embedding a full functional web browser in any kind of application!
[kaltura-widget wid="vzjollzqgu" width="410" height="364" addpermission="0" editpermission="0" /]
The source used in this video is (almost):

import webkit
import gtk
&#160;
wv = webkit.WebView&#40;&#41;
w = gtk.Window&#40;&#41;
w.add&#40;wv&#41;
w.show_all&#40;&#41;
wv.open&#40;&#34;http://cjg.cruxppc.org&#34;&#41;
gtk.main&#40;&#41;

If you can&#8217;t/wan&#8217;t use any flash player you can download and watch the video from: [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted just to test <a href="http://webkit.org/">WebKit</a>, but instead of getting a browser based on that project I decided to test directly the (gtk) widget using python and I was impressed how it is simple and fast embedding a full functional web browser in any kind of application!</p>
<p>[kaltura-widget wid="vzjollzqgu" width="410" height="364" addpermission="0" editpermission="0" /]</p>
<p>The source used in this video is (almost):</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">import</span> webkit
<span style="color: #ff7700;font-weight:bold;">import</span> gtk
&nbsp;
wv = webkit.<span style="color: black;">WebView</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
w = gtk.<span style="color: black;">Window</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
w.<span style="color: black;">add</span><span style="color: black;">&#40;</span>wv<span style="color: black;">&#41;</span>
w.<span style="color: black;">show_all</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span>
wv.<span style="color: #008000;">open</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;http://cjg.cruxppc.org&quot;</span><span style="color: black;">&#41;</span>
gtk.<span style="color: black;">main</span><span style="color: black;">&#40;</span><span style="color: black;">&#41;</span></pre></div></div>

<p>If you can&#8217;t/wan&#8217;t use any flash player you can download and watch the video from: <a href="http://cruxppc.org/~cjg/minute_browser.ogg">Writing a browser in less than a minute</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://osl.uniparthenope.it/people/cjg/2009/02/writing-a-browser-in-less-than-a-minute/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
