<?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 for J5's Blog</title>
	<atom:link href="http://www.j5live.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.j5live.com</link>
	<description>Where the urethane hits the pavement</description>
	<lastBuildDate>Mon, 10 Oct 2011 13:34:18 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on PyGObject 3.0 stable released by RockDoctor</title>
		<link>http://www.j5live.com/2011/09/19/pygobject-3-0-stable-released/comment-page-1/#comment-21584</link>
		<dc:creator>RockDoctor</dc:creator>
		<pubDate>Mon, 10 Oct 2011 13:34:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=1019#comment-21584</guid>
		<description>Not sure where to submit this, hope this is a viable place. Wanted to modify drawingarea.py example to clear the scribble area on right-click. Came up with the following:


--- drawingarea.py	2011-10-09 15:01:04.089450215 -0500
+++ dr1.py	2011-10-10 08:20:54.574483271 -0500
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- Mode: Python; py-indent-offset: 4 -*-
 # vim: tabstop=4 shiftwidth=4 expandtab
 #
@@ -54,7 +54,7 @@
 
         # create checkerboard area
         label = Gtk.Label()
-        label.set_markup(&#039;Scribble area&#039;)
+        label.set_markup(&#039;Checkerboard pattern&#039;)
         vbox.pack_start(label, False, False, 0)
 
         frame = Gtk.Frame()
@@ -68,7 +68,7 @@
 
         # create scribble area
         label = Gtk.Label()
-        label.set_markup(&#039;Checkerboard pattern&#039;)
+        label.set_markup(&#039;Scribble area&#039;)
         vbox.pack_start(label, False, False, 0)
 
         frame = Gtk.Frame()
@@ -117,7 +117,7 @@
                 if ycount % 2:
                     cairo_ctx.set_source_rgb(0.45777, 0, 0.45777)
                 else:
-                    cairo_ctx.set_source_rgb(1, 1, 1)
+                    cairo_ctx.set_source_rgb(1,1,1)
                 # If we&#039;re outside the clip this will do nothing.
                 cairo_ctx.rectangle(i, j,
                                     check_size,
@@ -195,6 +195,22 @@
         if event.button == 1:
             self.draw_brush(da, event.x, event.y)
 
+        # I want to right-click to clear the scribble drawingarea
+        elif event.button == 3:
+          update_rect = Gdk.Rectangle()
+          update_rect.x = 0
+          update_rect.y = 0
+          update_rect.width = da.get_allocated_width()
+          update_rect.height = da.get_allocated_height()
+
+          # paint to the surface where we store our state
+          cairo_ctx = cairo.Context(self.surface)
+          cairo_ctx.set_source_rgb(1, 1, 1)
+          Gdk.cairo_rectangle(cairo_ctx, update_rect)
+          cairo_ctx.fill()
+
+          da.get_window().invalidate_rect(update_rect, False)
+
         return True
 
 def main(demoapp=None):</description>
		<content:encoded><![CDATA[<p>Not sure where to submit this, hope this is a viable place. Wanted to modify drawingarea.py example to clear the scribble area on right-click. Came up with the following:</p>
<p>&#8212; drawingarea.py	2011-10-09 15:01:04.089450215 -0500<br />
+++ dr1.py	2011-10-10 08:20:54.574483271 -0500<br />
@@ -1,4 +1,4 @@<br />
-#!/usr/bin/env python<br />
+#!/usr/bin/env python3<br />
 # -*- Mode: Python; py-indent-offset: 4 -*-<br />
 # vim: tabstop=4 shiftwidth=4 expandtab<br />
 #<br />
@@ -54,7 +54,7 @@</p>
<p>         # create checkerboard area<br />
         label = Gtk.Label()<br />
-        label.set_markup(&#8217;Scribble area&#8217;)<br />
+        label.set_markup(&#8217;Checkerboard pattern&#8217;)<br />
         vbox.pack_start(label, False, False, 0)</p>
<p>         frame = Gtk.Frame()<br />
@@ -68,7 +68,7 @@</p>
<p>         # create scribble area<br />
         label = Gtk.Label()<br />
-        label.set_markup(&#8217;Checkerboard pattern&#8217;)<br />
+        label.set_markup(&#8217;Scribble area&#8217;)<br />
         vbox.pack_start(label, False, False, 0)</p>
<p>         frame = Gtk.Frame()<br />
@@ -117,7 +117,7 @@<br />
                 if ycount % 2:<br />
                     cairo_ctx.set_source_rgb(0.45777, 0, 0.45777)<br />
                 else:<br />
-                    cairo_ctx.set_source_rgb(1, 1, 1)<br />
+                    cairo_ctx.set_source_rgb(1,1,1)<br />
                 # If we&#8217;re outside the clip this will do nothing.<br />
                 cairo_ctx.rectangle(i, j,<br />
                                     check_size,<br />
@@ -195,6 +195,22 @@<br />
         if event.button == 1:<br />
             self.draw_brush(da, event.x, event.y)</p>
<p>+        # I want to right-click to clear the scribble drawingarea<br />
+        elif event.button == 3:<br />
+          update_rect = Gdk.Rectangle()<br />
+          update_rect.x = 0<br />
+          update_rect.y = 0<br />
+          update_rect.width = da.get_allocated_width()<br />
+          update_rect.height = da.get_allocated_height()<br />
+<br />
+          # paint to the surface where we store our state<br />
+          cairo_ctx = cairo.Context(self.surface)<br />
+          cairo_ctx.set_source_rgb(1, 1, 1)<br />
+          Gdk.cairo_rectangle(cairo_ctx, update_rect)<br />
+          cairo_ctx.fill()<br />
+<br />
+          da.get_window().invalidate_rect(update_rect, False)<br />
+<br />
         return True</p>
<p> def main(demoapp=None):</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PyGObject release comming soon by J5</title>
		<link>http://www.j5live.com/2011/09/13/pygobject-release-comming-soon/comment-page-1/#comment-21582</link>
		<dc:creator>J5</dc:creator>
		<pubDate>Wed, 14 Sep 2011 16:59:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=1012#comment-21582</guid>
		<description>Ah yes, it seems I still have an argument count bug on that.  I should have that fixed by Friday hopefully.</description>
		<content:encoded><![CDATA[<p>Ah yes, it seems I still have an argument count bug on that.  I should have that fixed by Friday hopefully.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PyGObject release comming soon by Karl Lattimer</title>
		<link>http://www.j5live.com/2011/09/13/pygobject-release-comming-soon/comment-page-1/#comment-21581</link>
		<dc:creator>Karl Lattimer</dc:creator>
		<pubDate>Wed, 14 Sep 2011 10:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=1012#comment-21581</guid>
		<description>You&#039;re not on IRC right now, so I&#039;d just like to ask that you test this bug before release - https://bugzilla.gnome.org/show_bug.cgi?id=627236

Cheers</description>
		<content:encoded><![CDATA[<p>You&#8217;re not on IRC right now, so I&#8217;d just like to ask that you test this bug before release &#8211; <a href="https://bugzilla.gnome.org/show_bug.cgi?id=627236" rel="nofollow">https://bugzilla.gnome.org/show_bug.cgi?id=627236</a></p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calling all Introspection Hackers by ac</title>
		<link>http://www.j5live.com/2011/08/18/calling-all-introspection-hackers/comment-page-1/#comment-21579</link>
		<dc:creator>ac</dc:creator>
		<pubDate>Mon, 22 Aug 2011 07:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=1008#comment-21579</guid>
		<description>We also need a ctypesgen like project for vala which will automatically generate gobject based binding of C libraries.

Then all the scripting languages will benefit from a vala based gobject-binding.

Maybe has the ctypesgen/PyCParser to output vapi file will be the first step.</description>
		<content:encoded><![CDATA[<p>We also need a ctypesgen like project for vala which will automatically generate gobject based binding of C libraries.</p>
<p>Then all the scripting languages will benefit from a vala based gobject-binding.</p>
<p>Maybe has the ctypesgen/PyCParser to output vapi file will be the first step.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calling all Introspection Hackers by J5</title>
		<link>http://www.j5live.com/2011/08/18/calling-all-introspection-hackers/comment-page-1/#comment-21578</link>
		<dc:creator>J5</dc:creator>
		<pubDate>Fri, 19 Aug 2011 20:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=1008#comment-21578</guid>
		<description>Would be nice if we had a complete tutorial that incorporated that example.</description>
		<content:encoded><![CDATA[<p>Would be nice if we had a complete tutorial that incorporated that example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Calling all Introspection Hackers by Luca Bruno</title>
		<link>http://www.j5live.com/2011/08/18/calling-all-introspection-hackers/comment-page-1/#comment-21577</link>
		<dc:creator>Luca Bruno</dc:creator>
		<pubDate>Fri, 19 Aug 2011 17:08:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=1008#comment-21577</guid>
		<description>For vala there&#039;s https://live.gnome.org/Vala/SharedLibSample as a starter (contributed by Fabian Deutsch).</description>
		<content:encoded><![CDATA[<p>For vala there&#8217;s <a href="https://live.gnome.org/Vala/SharedLibSample" rel="nofollow">https://live.gnome.org/Vala/SharedLibSample</a> as a starter (contributed by Fabian Deutsch).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on GObjects in Berlin: The search for more documentation by J5</title>
		<link>http://www.j5live.com/2011/08/15/gobjects-in-berlin-the-search-for-more-documentation/comment-page-1/#comment-21576</link>
		<dc:creator>J5</dc:creator>
		<pubDate>Wed, 17 Aug 2011 19:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=1004#comment-21576</guid>
		<description>@Stefan,

I&#039;m not sure what you are asking.  We have decided to generate docs into mallard using g-ir-doctool and then generate the html using yelp&#039;s xsl style sheets.</description>
		<content:encoded><![CDATA[<p>@Stefan,</p>
<p>I&#8217;m not sure what you are asking.  We have decided to generate docs into mallard using g-ir-doctool and then generate the html using yelp&#8217;s xsl style sheets.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on GObjects in Berlin: The search for more documentation by Stefan Sauer</title>
		<link>http://www.j5live.com/2011/08/15/gobjects-in-berlin-the-search-for-more-documentation/comment-page-1/#comment-21575</link>
		<dc:creator>Stefan Sauer</dc:creator>
		<pubDate>Wed, 17 Aug 2011 08:43:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=1004#comment-21575</guid>
		<description>As far as I understood doctool will conceptually replace gtkdoc-mkdb (and the gir scanner replaces gtkdoc-scan and gtkdoc-scangobj). The lgo page seems to have a different standpoint.</description>
		<content:encoded><![CDATA[<p>As far as I understood doctool will conceptually replace gtkdoc-mkdb (and the gir scanner replaces gtkdoc-scan and gtkdoc-scangobj). The lgo page seems to have a different standpoint.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PyGObject invoke-rewrite branch merged with master by José</title>
		<link>http://www.j5live.com/2011/07/18/pygobject-invoke-rewrite-branch-merged-with-master/comment-page-1/#comment-21571</link>
		<dc:creator>José</dc:creator>
		<pubDate>Mon, 18 Jul 2011 16:27:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=990#comment-21571</guid>
		<description>Hey, congrats and thanks for all your hard work!</description>
		<content:encoded><![CDATA[<p>Hey, congrats and thanks for all your hard work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on I bought a house! by Federico Mena Quintero</title>
		<link>http://www.j5live.com/2011/07/12/i-bought-a-house/comment-page-1/#comment-21570</link>
		<dc:creator>Federico Mena Quintero</dc:creator>
		<pubDate>Wed, 13 Jul 2011 17:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.j5live.com/?p=983#comment-21570</guid>
		<description>Wow, congratulations!</description>
		<content:encoded><![CDATA[<p>Wow, congratulations!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

