<?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: Converting to GtkBuilder</title>
	<atom:link href="http://blogs.gnome.org/hughsie/2009/04/02/converting-to-gtkbuilder/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/hughsie/2009/04/02/converting-to-gtkbuilder/</link>
	<description>Blog about geeky stuff</description>
	<lastBuildDate>Sun, 29 Jan 2012 09:38:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jon</title>
		<link>http://blogs.gnome.org/hughsie/2009/04/02/converting-to-gtkbuilder/comment-page-1/#comment-1133</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Wed, 22 Apr 2009 14:25:43 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/?p=328#comment-1133</guid>
		<description>This is the first I&#039;ve heard of GtkBuilder. Eek. Better take a look at my glade apps.</description>
		<content:encoded><![CDATA[<p>This is the first I&#8217;ve heard of GtkBuilder. Eek. Better take a look at my glade apps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GNOME PackageKit updates &#171; Technical Blog of Richard Hughes</title>
		<link>http://blogs.gnome.org/hughsie/2009/04/02/converting-to-gtkbuilder/comment-page-1/#comment-1100</link>
		<dc:creator>GNOME PackageKit updates &#171; Technical Blog of Richard Hughes</dc:creator>
		<pubDate>Tue, 14 Apr 2009 11:24:02 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/?p=328#comment-1100</guid>
		<description>[...] Technical Blog of Richard Hughes Blog about geeky stuff      &#171; Converting to GtkBuilder [...]</description>
		<content:encoded><![CDATA[<p>[...] Technical Blog of Richard Hughes Blog about geeky stuff      &laquo; Converting to GtkBuilder [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tristan</title>
		<link>http://blogs.gnome.org/hughsie/2009/04/02/converting-to-gtkbuilder/comment-page-1/#comment-1098</link>
		<dc:creator>Tristan</dc:creator>
		<pubDate>Wed, 08 Apr 2009 06:49:41 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/?p=328#comment-1098</guid>
		<description>Richard,
   To get your widget loaded it does not need to
explicitly implement GtkBuildable, it only needs to
have its type specified in the Glade file (if it has 
custom constructs or needs to do custom stuff
at load time, then implement buildable).

Please read the docs I wrote at glade.gnome.org/docs
about integrating your widgets into Glade, and feel
free to send me emails on the subject...</description>
		<content:encoded><![CDATA[<p>Richard,<br />
   To get your widget loaded it does not need to<br />
explicitly implement GtkBuildable, it only needs to<br />
have its type specified in the Glade file (if it has<br />
custom constructs or needs to do custom stuff<br />
at load time, then implement buildable).</p>
<p>Please read the docs I wrote at glade.gnome.org/docs<br />
about integrating your widgets into Glade, and feel<br />
free to send me emails on the subject&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rvl</title>
		<link>http://blogs.gnome.org/hughsie/2009/04/02/converting-to-gtkbuilder/comment-page-1/#comment-1097</link>
		<dc:creator>rvl</dc:creator>
		<pubDate>Sun, 05 Apr 2009 04:30:51 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/?p=328#comment-1097</guid>
		<description>Sorry... the XML got mangled, here it is again:

1.

&lt;object class=&quot;GpmGraphWidget&quot; id=&quot;graph&quot;&gt;
 &lt;property name=&quot;foo&quot;&gt;True&lt;/property&gt;
 &lt;signal name=&quot;xyzzy-event&quot; handler=&quot;graph_on_xyzzy&quot;/&gt;
&lt;/object&gt;


2.

&lt;object class=&quot;MyAppWindow&quot; name=&quot;window&quot;&gt;
 &lt;child&gt;
  ...
 &lt;/child&gt;
&lt;/object&gt;</description>
		<content:encoded><![CDATA[<p>Sorry&#8230; the XML got mangled, here it is again:</p>
<p>1.</p>
<p>&lt;object class=&#8221;GpmGraphWidget&#8221; id=&#8221;graph&#8221;&gt;<br />
 &lt;property name=&#8221;foo&#8221;&gt;True&lt;/property&gt;<br />
 &lt;signal name=&#8221;xyzzy-event&#8221; handler=&#8221;graph_on_xyzzy&#8221;/&gt;<br />
&lt;/object&gt;</p>
<p>2.</p>
<p>&lt;object class=&#8221;MyAppWindow&#8221; name=&#8221;window&#8221;&gt;<br />
 &lt;child&gt;<br />
  &#8230;<br />
 &lt;/child&gt;<br />
&lt;/object&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rvl</title>
		<link>http://blogs.gnome.org/hughsie/2009/04/02/converting-to-gtkbuilder/comment-page-1/#comment-1096</link>
		<dc:creator>rvl</dc:creator>
		<pubDate>Sun, 05 Apr 2009 04:27:59 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/?p=328#comment-1096</guid>
		<description>I had some success doing this 2 weeks ago.

First I made my widget class implement GtkBuildable. This wasn&#039;t much much work because GtkContainer already implemented it, I just had to alter add_child() slightly.

Then I added construction properties to my widget class so that these could be set from the XML.

Then I put this into my builder XML:


 True
 


I was also looking at implementing the custom_tag_start, etc. methods for setting custom widget data, but didn&#039;t get far.


I also set up my main window as a subclass on GtkWindow. This could be constructed directly from gtkbuilder XML, which was pretty cool, e.g.

 
  ...
 



It all seemed fairly straightforward, even if the docs were a little short of practical information. I hope I understood your question.</description>
		<content:encoded><![CDATA[<p>I had some success doing this 2 weeks ago.</p>
<p>First I made my widget class implement GtkBuildable. This wasn&#8217;t much much work because GtkContainer already implemented it, I just had to alter add_child() slightly.</p>
<p>Then I added construction properties to my widget class so that these could be set from the XML.</p>
<p>Then I put this into my builder XML:</p>
<p> True</p>
<p>I was also looking at implementing the custom_tag_start, etc. methods for setting custom widget data, but didn&#8217;t get far.</p>
<p>I also set up my main window as a subclass on GtkWindow. This could be constructed directly from gtkbuilder XML, which was pretty cool, e.g.</p>
<p>  &#8230;</p>
<p>It all seemed fairly straightforward, even if the docs were a little short of practical information. I hope I understood your question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johan Dahlin</title>
		<link>http://blogs.gnome.org/hughsie/2009/04/02/converting-to-gtkbuilder/comment-page-1/#comment-1095</link>
		<dc:creator>Johan Dahlin</dc:creator>
		<pubDate>Sat, 04 Apr 2009 02:35:41 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/?p=328#comment-1095</guid>
		<description>I wrote a little hack a while ago to load custom like constructs directly:
http://www.gnome.org/~johan/gtkbuildercustom.c

Haven&#039;t really been tested with what glade3 is generating, but it should in general work.</description>
		<content:encoded><![CDATA[<p>I wrote a little hack a while ago to load custom like constructs directly:<br />
<a href="http://www.gnome.org/~johan/gtkbuildercustom.c" rel="nofollow">http://www.gnome.org/~johan/gtkbuildercustom.c</a></p>
<p>Haven&#8217;t really been tested with what glade3 is generating, but it should in general work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaap</title>
		<link>http://blogs.gnome.org/hughsie/2009/04/02/converting-to-gtkbuilder/comment-page-1/#comment-1094</link>
		<dc:creator>Jaap</dc:creator>
		<pubDate>Fri, 03 Apr 2009 22:28:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/?p=328#comment-1094</guid>
		<description>In cheese what we did is just leave an empty frame and add the custom control in the code to that frame.

See around line 1660 in
http://svn.gnome.org/viewvc/cheese/trunk/src/cheese-window.c?revision=1210&amp;view=markup</description>
		<content:encoded><![CDATA[<p>In cheese what we did is just leave an empty frame and add the custom control in the code to that frame.</p>
<p>See around line 1660 in<br />
<a href="http://svn.gnome.org/viewvc/cheese/trunk/src/cheese-window.c?revision=1210&#038;view=markup" rel="nofollow">http://svn.gnome.org/viewvc/cheese/trunk/src/cheese-window.c?revision=1210&#038;view=markup</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aklapper</title>
		<link>http://blogs.gnome.org/hughsie/2009/04/02/converting-to-gtkbuilder/comment-page-1/#comment-1093</link>
		<dc:creator>aklapper</dc:creator>
		<pubDate>Fri, 03 Apr 2009 09:46:04 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/?p=328#comment-1093</guid>
		<description>If you find out, sharing this by adding it to e.g.
http://library.gnome.org/devel/gtk/stable/gtk-migrating-GtkBuilder.html would be welcome.</description>
		<content:encoded><![CDATA[<p>If you find out, sharing this by adding it to e.g.<br />
<a href="http://library.gnome.org/devel/gtk/stable/gtk-migrating-GtkBuilder.html" rel="nofollow">http://library.gnome.org/devel/gtk/stable/gtk-migrating-GtkBuilder.html</a> would be welcome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Gentle</title>
		<link>http://blogs.gnome.org/hughsie/2009/04/02/converting-to-gtkbuilder/comment-page-1/#comment-1092</link>
		<dc:creator>Stephen Gentle</dc:creator>
		<pubDate>Fri, 03 Apr 2009 05:41:46 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/?p=328#comment-1092</guid>
		<description>&quot;Read somewhere (don’t know where) that GtkBuilder is (going to be) obsolete … by glade.&quot;

Other way around, mate - Libglade was depreciated, and GtkBuilder (which is part of GTK) is replacing it.</description>
		<content:encoded><![CDATA[<p>&#8220;Read somewhere (don’t know where) that GtkBuilder is (going to be) obsolete … by glade.&#8221;</p>
<p>Other way around, mate &#8211; Libglade was depreciated, and GtkBuilder (which is part of GTK) is replacing it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaroslav Smid</title>
		<link>http://blogs.gnome.org/hughsie/2009/04/02/converting-to-gtkbuilder/comment-page-1/#comment-1091</link>
		<dc:creator>Jaroslav Smid</dc:creator>
		<pubDate>Fri, 03 Apr 2009 02:45:41 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/?p=328#comment-1091</guid>
		<description>Read somewhere (don&#039;t know where) that GtkBuilder is (going to be) obsolete ... by glade.</description>
		<content:encoded><![CDATA[<p>Read somewhere (don&#8217;t know where) that GtkBuilder is (going to be) obsolete &#8230; by glade.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  blogs.gnome.org/hughsie/2009/04/02/converting-to-gtkbuilder/feed/ ) in 0.16600 seconds, on Feb 10th, 2012 at 11:14 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 11th, 2012 at 12:14 am UTC -->
