<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1322</id>
	<title>Nabble - Gnome - Glade</title>
	<updated>2009-12-19T09:25:21Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gnome---Glade-f1322.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gnome---Glade-f1322.html" />
	<subtitle type="html">Glade is a free user interface builder for GTK+ and GNOME. Gnome - Glade home is &lt;a href=&quot;http://glade.gnome.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26856919</id>
	<title>Glade 3 TreeView &amp; TreeSelection</title>
	<published>2009-12-19T09:25:21Z</published>
	<updated>2009-12-19T09:25:21Z</updated>
	<author>
		<name>Lex Berezhny</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;&amp;nbsp; I want to attach a call back to a TreeView so that when a row is
&lt;br&gt;selected (single click) my function is called.
&lt;br&gt;&lt;br&gt;&amp;nbsp; I can do this programmatically outside of Glade by grabbing the
&lt;br&gt;selection object of the TreeView and then attaching to the selection
&lt;br&gt;objects &amp;quot;changed&amp;quot; event. I can't figure out how to do the same in
&lt;br&gt;Glade 3.
&lt;br&gt;&lt;br&gt;&amp;nbsp; I do see that I can create a GtkTreeSelection object in the Glade
&lt;br&gt;interface and attach to its &amp;quot;changed&amp;quot; event but how do I add that
&lt;br&gt;selection to my TreeView?
&lt;br&gt;&lt;br&gt;&amp;nbsp; Any help would be appreciated.
&lt;br&gt;&lt;br&gt;&amp;nbsp;Thanks,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Lex
&lt;br&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26856919&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Glade-3-TreeView---TreeSelection-tp26856919p26856919.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26854745</id>
	<title>Gtkmm + Glade (On Windows XP)</title>
	<published>2009-12-19T04:41:46Z</published>
	<updated>2009-12-19T04:41:46Z</updated>
	<author>
		<name>Jamiil</name>
	</author>
	<content type="html">Hello kids!
&lt;br&gt;Where can I download Glademm for winxp?
&lt;br&gt;TIA
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;___ &amp;nbsp; _____ &amp;nbsp; &amp;nbsp;_____ &amp;nbsp; _____ &amp;nbsp; _ &amp;nbsp; &amp;nbsp; &amp;nbsp; _____ &amp;nbsp; __ &amp;nbsp; _ &amp;nbsp; _____ &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; / &amp;nbsp; | | &amp;nbsp;_ &amp;nbsp;\ &amp;nbsp;| &amp;nbsp;_ &amp;nbsp;\ / &amp;nbsp;_ &amp;nbsp;\ | | &amp;nbsp; &amp;nbsp; / &amp;nbsp;_ &amp;nbsp;\ | &amp;nbsp;\ | | | ____| 
&lt;br&gt;&amp;nbsp; &amp;nbsp;/ /| | | |_| | &amp;nbsp;| |_| | | | | | | | &amp;nbsp; &amp;nbsp; | | | | | &amp;nbsp; \| | | |__ &amp;nbsp; 
&lt;br&gt;&amp;nbsp; / / | | | &amp;nbsp;_ &amp;nbsp;/ &amp;nbsp;| &amp;nbsp;_ &amp;nbsp;{ | | | | | | &amp;nbsp; &amp;nbsp; | | | | | |\ &amp;nbsp; | | &amp;nbsp;__| &amp;nbsp;
&lt;br&gt;&amp;nbsp;/ / &amp;nbsp;| | | | \ \ &amp;nbsp;| |_| | | |_| | | |___ &amp;nbsp;| |_| | | | \ &amp;nbsp;| | |___ &amp;nbsp;
&lt;br&gt;/_/ &amp;nbsp; |_| |_| &amp;nbsp;\_\ |_____/ \_____/ |_____| \_____/ |_| &amp;nbsp;\_| |_____| 
&lt;br&gt;&lt;br&gt;&lt;br&gt;ArbolOne.org specializes in Custom Web Site Design, Web Site Re Design, Web Site Template Modifications, Web Site Maintenance, Integration of Payment Gateways (API's), Database Applications, Custom Applications and much more. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;quot;O Allah, make my love for You the most beloved thing to me, and my fear for You the most fearful thing to me, and remove from me all worldly needs and wants by instilling a passion for meeting You, make the coolness of my eyes to worshipping You.”
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;glademm-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26854745&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;glademm-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/glademm-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/glademm-list&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glademm-f1326.html&quot; embed=&quot;fixTarget[1326]&quot; target=&quot;_top&quot; &gt;Gnome - Glademm&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gtkmm-%2B-Glade-%28On-Windows-XP%29-tp26854745p26854745.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26845337</id>
	<title>Re: Loading widgets from XML file using libglade</title>
	<published>2009-12-18T07:46:40Z</published>
	<updated>2009-12-18T07:46:40Z</updated>
	<author>
		<name>Lukasz Gromotowicz</name>
	</author>
	<content type="html">If you read the description of the glade_xml_get_widget() (&lt;a href=&quot;http://library.gnome.org/devel/libglade/unstable/GladeXML.html#glade-xml-get-widget&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://library.gnome.org/devel/libglade/unstable/GladeXML.html#glade-xml-get-widget&lt;/a&gt;) you will see that this returns the pointer to the widget which you loaded with glade_xml_new(). First time you have added this widget to the container what set its &amp;#39;parent&amp;#39;. When you call this function second time, you are obtaining pointer to the same widget.&lt;br&gt;
&lt;br&gt;What is your intention? Do you want to realize something like gtk_notebook? If yes, why not to use it?&lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;LUK (gromot)&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/12/17 Andrew Wood &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26845337&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ajwood@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Thanks thats sorted it. But how do I update the contents of a container&lt;br&gt;
on the fly. For example Ive defined the following function which is&lt;br&gt;
called when the program starts and loads the widgets from Glade no problem:&lt;br&gt;
&lt;br&gt;
void showPage1()&lt;br&gt;
{&lt;br&gt;
        //load page1 from Glade and set as content in rightpanevbox&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;        rightpanevbox= glade_xml_get_widget(page1xml,&amp;quot;mainvbox&amp;quot;);&lt;br&gt;
&lt;/div&gt;        glade_xml_signal_autoconnect(page1xml);&lt;br&gt;
&lt;br&gt;
        pagedisplayed = &amp;quot;Page1&amp;quot;;&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;br&gt;
gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(rightpanescrollview),rightpanevbox);&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;If however I call this function later on a second time I get that same&lt;br&gt;
error:&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;Gtk-CRITICAL **: gtk_scrolled_window_add_with_viewport: assertion&lt;br&gt;
`child-&amp;gt;parent == NULL&amp;#39; failed&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Im assuming this is because the scrolled window already has something in&lt;br&gt;
it which I first need to remove?&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;br&gt;
Lukasz Gromotowicz wrote:&lt;br&gt;
&amp;gt; As far as I can see, the Gtk-Critical fault says that you can not put&lt;br&gt;
&amp;gt; the widget onto another parent because it already has a parent. The&lt;br&gt;
&amp;gt; second parameter in the glade_xml_new() is for the root widget node.&lt;br&gt;
&amp;gt; Try this:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; page1xml=glade_xml_new(&amp;quot;./page1.glade&amp;quot;,&amp;quot;mainvbox&amp;quot;,NULL);&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; and then&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; rightpanevbox= glade_xml_get_widget(page1xml,&amp;quot;mainvbox&amp;quot;);&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hope it works,&lt;br&gt;
&amp;gt; good luck.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; LUK (gromot)&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;_______________________________________________&lt;br&gt;
Glade-users maillist  -  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26845337&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26845337&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Loading-widgets-from-XML-file-using-libglade-tp26815781p26845337.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26832227</id>
	<title>Re: Loading widgets from XML file using libglade</title>
	<published>2009-12-17T09:55:53Z</published>
	<updated>2009-12-17T09:55:53Z</updated>
	<author>
		<name>Andrew Wood-16</name>
	</author>
	<content type="html">Thanks thats sorted it. But how do I update the contents of a container 
&lt;br&gt;on the fly. For example Ive defined the following function which is 
&lt;br&gt;called when the program starts and loads the widgets from Glade no problem:
&lt;br&gt;&lt;br&gt;void showPage1()
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //load page1 from Glade and set as content in rightpanevbox
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; rightpanevbox= glade_xml_get_widget(page1xml,&amp;quot;mainvbox&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; glade_xml_signal_autoconnect(page1xml);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pagedisplayed = &amp;quot;Page1&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(rightpanescrollview),rightpanevbox);
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;If however I call this function later on a second time I get that same 
&lt;br&gt;error:
&lt;br&gt;Gtk-CRITICAL **: gtk_scrolled_window_add_with_viewport: assertion 
&lt;br&gt;`child-&amp;gt;parent == NULL' failed
&lt;br&gt;&lt;br&gt;Im assuming this is because the scrolled window already has something in 
&lt;br&gt;it which I first need to remove?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Lukasz Gromotowicz wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; As far as I can see, the Gtk-Critical fault says that you can not put 
&lt;br&gt;&amp;gt; the widget onto another parent because it already has a parent. The 
&lt;br&gt;&amp;gt; second parameter in the glade_xml_new() is for the root widget node. 
&lt;br&gt;&amp;gt; Try this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; page1xml=glade_xml_new(&amp;quot;./page1.glade&amp;quot;,&amp;quot;mainvbox&amp;quot;,NULL);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; and then
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; rightpanevbox= glade_xml_get_widget(page1xml,&amp;quot;mainvbox&amp;quot;);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hope it works,
&lt;br&gt;&amp;gt; good luck.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; LUK (gromot)
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26832227&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Loading-widgets-from-XML-file-using-libglade-tp26815781p26832227.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26828123</id>
	<title>Re: Loading widgets from XML file using libglade</title>
	<published>2009-12-17T05:39:51Z</published>
	<updated>2009-12-17T05:39:51Z</updated>
	<author>
		<name>Lukasz Gromotowicz</name>
	</author>
	<content type="html">As far as I can see, the Gtk-Critical fault says that you can not put the widget onto another parent because it already has a parent. The second parameter in the glade_xml_new() is for the root widget node. Try this:&lt;br&gt;&lt;br&gt;
page1xml=glade_xml_new(&amp;quot;./page1.glade&amp;quot;,&amp;quot;mainvbox&amp;quot;,NULL);&lt;br&gt;&lt;br&gt;and then&lt;br&gt;&lt;br&gt;rightpanevbox= glade_xml_get_widget(page1xml,&amp;quot;mainvbox&amp;quot;);&lt;br&gt;&lt;br&gt;Hope it works,&lt;br&gt;good luck.&lt;br&gt;&lt;br&gt;LUK (gromot)&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/12/16 Andrew Wood &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26828123&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ajwood@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Im having problems getting libglade to load widgets from an XML file.&lt;br&gt;
My aim is to have a GtkVBox in a window - the window is made in code not&lt;br&gt;
Glade, and the contents of the vbox will be loaded from Glade files such&lt;br&gt;
that the contents of the vbox can change as the app runs.&lt;br&gt;
&lt;br&gt;
To test it out I created 2 Glade XML files page1.glade and page2.glade&lt;br&gt;
each have the following hierarchy:  GtkWindow-&amp;gt;GtkVBox-&amp;gt;GtkLabel&lt;br&gt;
&lt;br&gt;
The label contains the text &amp;quot;Page1&amp;quot; or &amp;quot;Page2&amp;quot; accordingly. I want to&lt;br&gt;
load the GtkVBox from either file and use it to &amp;#39;replace&amp;#39; a manually&lt;br&gt;
created vbox which is in code.&lt;br&gt;
&lt;br&gt;
In the code which is just a short &amp;#39;main&amp;#39; file Ive declared the following:&lt;br&gt;
&lt;br&gt;
GladeXML* page1xml;&lt;br&gt;
GladeXML* page2xml;&lt;br&gt;
&lt;br&gt;
GtkWidget* mainwindow;&lt;br&gt;
GtkWidget* rightpanescrollview;&lt;br&gt;
GtkWidget* rightpanevbox;&lt;br&gt;
&lt;br&gt;
page1xml=glade_xml_new(&amp;quot;./page1.glade&amp;quot;,NULL,NULL);&lt;br&gt;
rightpanevbox= glade_xml_get_widget(page1xml,&amp;quot;mainvbox&amp;quot;);&lt;br&gt;
&lt;br&gt;
gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(rightpanescrollview),rightpanevbox);&lt;br&gt;
&lt;br&gt;
The rightpanevbox is then put into the window.&lt;br&gt;
&lt;br&gt;
But when the app runs the label from Glade doesnt appear and the&lt;br&gt;
following is printed on the console:&lt;br&gt;
&lt;br&gt;
(a.out:3894): Gtk-CRITICAL **: gtk_scrolled_window_add_with_viewport:&lt;br&gt;
assertion `child-&amp;gt;parent == NULL&amp;#39; failed&lt;br&gt;
I tried decalring in code a GtkWindow and loading the top-level window&lt;br&gt;
widget from the XML file but again I got an error similar but slightly&lt;br&gt;
different suggesting that no widgets are actually being found in the file.&lt;br&gt;
&lt;br&gt;
The file itself is found because it throws up an error if I change the&lt;br&gt;
filename in the call to  glade_xml_new but it seemingly cant find&lt;br&gt;
anything in that file.&lt;br&gt;
&lt;br&gt;
Any suggestions? I can post the entire main code file if it would help&lt;br&gt;
its not very long.&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
Andrew&lt;br&gt;
&lt;br&gt;
_______________________________________________&lt;br&gt;
Glade-users maillist  -  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26828123&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26828123&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Loading-widgets-from-XML-file-using-libglade-tp26815781p26828123.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26820514</id>
	<title>Re: Loading widgets from XML file using libglade</title>
	<published>2009-12-16T15:37:28Z</published>
	<updated>2009-12-16T15:37:28Z</updated>
	<author>
		<name>dhkuhl</name>
	</author>
	<content type="html">Andrew Wood wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Ah. &amp;nbsp;The rightpanevbox is inside the right portion of an HPane. I want 
&lt;br&gt;&amp;gt; the left side of the HPane to stay the same (declared in code) but the 
&lt;br&gt;&amp;gt; contents of the right side to change (and be loaded from Glade).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The page1.glade file is as follows. I dont actually want that 'window1' 
&lt;br&gt;&amp;gt; but I cant seem to find a way of setting the top level as just a vbox.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;glade-interface&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;lt;!-- interface-requires gtk+ 2.16 --&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;lt;!-- interface-naming-policy project-wide --&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;lt;widget class=&amp;quot;GtkWindow&amp;quot; id=&amp;quot;window1&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;child&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;widget class=&amp;quot;GtkVBox&amp;quot; id=&amp;quot;mainvbox&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;property name=&amp;quot;visible&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;property name=&amp;quot;orientation&amp;quot;&amp;gt;vertical&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;child&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;widget class=&amp;quot;GtkLabel&amp;quot; id=&amp;quot;label1&amp;quot;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;property name=&amp;quot;visible&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;property name=&amp;quot;label&amp;quot; translatable=&amp;quot;yes&amp;quot;&amp;gt;PAGE1&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/widget&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;packing&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;property name=&amp;quot;position&amp;quot;&amp;gt;0&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/packing&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/child&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/widget&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;&amp;lt;/child&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;&amp;lt;/widget&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;/glade-interface&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; David López Luengo wrote:
&lt;br&gt;&amp;gt;&amp;gt; The problem comes because your rightpanevbox widget is already inside 
&lt;br&gt;&amp;gt;&amp;gt; another widget. Are you sure that in the mainvbox file definition, 
&lt;br&gt;&amp;gt;&amp;gt; rightpanevbox is the top widget? If you post the xml would help a lot. 
&lt;br&gt;&amp;gt;&amp;gt; It seems to be an easy-to-solve problem :-)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Good luck!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; David
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2009/12/16 Andrew Wood &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26820514&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ajwood@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26820514&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ajwood@...&lt;/a&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Im having problems getting libglade to load widgets from an XML file.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; My aim is to have a GtkVBox in a window - the window is made in
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; code not
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Glade, and the contents of the vbox will be loaded from Glade
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; files such
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; that the contents of the vbox can change as the app runs.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; To test it out I created 2 Glade XML files page1.glade and 
&lt;br&gt;&amp;gt;&amp;gt; page2.glade
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; each have the following hierarchy: &amp;nbsp;GtkWindow-&amp;gt;GtkVBox-&amp;gt;GtkLabel
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; The label contains the text &amp;quot;Page1&amp;quot; or &amp;quot;Page2&amp;quot; accordingly. I want to
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; load the GtkVBox from either file and use it to 'replace' a manually
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; created vbox which is in code.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; In the code which is just a short 'main' file Ive declared the
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; following:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; GladeXML* page1xml;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; GladeXML* page2xml;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; GtkWidget* mainwindow;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; GtkWidget* rightpanescrollview;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; GtkWidget* rightpanevbox;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; page1xml=glade_xml_new(&amp;quot;./page1.glade&amp;quot;,NULL,NULL);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; rightpanevbox= glade_xml_get_widget(page1xml,&amp;quot;mainvbox&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(rightpanescrollview),rightpanevbox); 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; The rightpanevbox is then put into the window.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; But when the app runs the label from Glade doesnt appear and the
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; following is printed on the console:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; (a.out:3894): Gtk-CRITICAL **: gtk_scrolled_window_add_with_viewport:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; assertion `child-&amp;gt;parent == NULL' failed
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; I tried decalring in code a GtkWindow and loading the top-level 
&lt;br&gt;&amp;gt;&amp;gt; window
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; widget from the XML file but again I got an error similar but 
&lt;br&gt;&amp;gt;&amp;gt; slightly
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; different suggesting that no widgets are actually being found in
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; the file.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; The file itself is found because it throws up an error if I change 
&lt;br&gt;&amp;gt;&amp;gt; the
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; filename in the call to &amp;nbsp;glade_xml_new but it seemingly cant find
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; anything in that file.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Any suggestions? I can post the entire main code file if it would 
&lt;br&gt;&amp;gt;&amp;gt; help
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; its not very long.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Thanks
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Andrew
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26820514&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26820514&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; David
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt;&amp;gt; This email has been scanned by the MessageLabs Email Security System.
&lt;br&gt;&amp;gt;&amp;gt; For more information please visit &lt;a href=&quot;http://www.messagelabs.com/email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.messagelabs.com/email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; David López Luengo wrote:
&lt;br&gt;&amp;gt;&amp;gt; The problem comes because your rightpanevbox widget is already inside 
&lt;br&gt;&amp;gt;&amp;gt; another widget. Are you sure that in the mainvbox file definition, 
&lt;br&gt;&amp;gt;&amp;gt; rightpanevbox is the top widget? If you post the xml would help a lot. 
&lt;br&gt;&amp;gt;&amp;gt; It seems to be an easy-to-solve problem :-)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Good luck!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; David
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2009/12/16 Andrew Wood &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26820514&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ajwood@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26820514&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ajwood@...&lt;/a&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Im having problems getting libglade to load widgets from an XML file.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; My aim is to have a GtkVBox in a window - the window is made in
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; code not
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Glade, and the contents of the vbox will be loaded from Glade
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; files such
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; that the contents of the vbox can change as the app runs.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; To test it out I created 2 Glade XML files page1.glade and page2.glade
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; each have the following hierarchy: &amp;nbsp;GtkWindow-&amp;gt;GtkVBox-&amp;gt;GtkLabel
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; The label contains the text &amp;quot;Page1&amp;quot; or &amp;quot;Page2&amp;quot; accordingly. I want to
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; load the GtkVBox from either file and use it to 'replace' a manually
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; created vbox which is in code.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; In the code which is just a short 'main' file Ive declared the
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; following:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; GladeXML* page1xml;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; GladeXML* page2xml;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; GtkWidget* mainwindow;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; GtkWidget* rightpanescrollview;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; GtkWidget* rightpanevbox;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; page1xml=glade_xml_new(&amp;quot;./page1.glade&amp;quot;,NULL,NULL);
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; rightpanevbox= glade_xml_get_widget(page1xml,&amp;quot;mainvbox&amp;quot;);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(rightpanescrollview),rightpanevbox);
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; The rightpanevbox is then put into the window.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; But when the app runs the label from Glade doesnt appear and the
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; following is printed on the console:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; (a.out:3894): Gtk-CRITICAL **: gtk_scrolled_window_add_with_viewport:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; assertion `child-&amp;gt;parent == NULL' failed
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; I tried decalring in code a GtkWindow and loading the top-level window
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; widget from the XML file but again I got an error similar but slightly
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; different suggesting that no widgets are actually being found in
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; the file.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; The file itself is found because it throws up an error if I change the
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; filename in the call to &amp;nbsp;glade_xml_new but it seemingly cant find
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; anything in that file.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Any suggestions? I can post the entire main code file if it would help
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; its not very long.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Thanks
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Andrew
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26820514&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26820514&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; David
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt;&amp;gt; This email has been scanned by the MessageLabs Email Security System.
&lt;br&gt;&amp;gt;&amp;gt; For more information please visit &lt;a href=&quot;http://www.messagelabs.com/email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.messagelabs.com/email&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26820514&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;I wrote a function getGladeWidget() to get the widget I want out of the
&lt;br&gt;glade xml file. &amp;nbsp;Once I have it I add it to a container. &amp;nbsp;I'm not sure
&lt;br&gt;how efficient it is, but it works.
&lt;br&gt;&lt;br&gt;I use it like this.
&lt;br&gt;&amp;nbsp; wid=getGladeWidget(filename, &amp;quot;menubar1&amp;quot;, TRUE);
&lt;br&gt;&amp;nbsp; gtk_container_add(GTK_CONTAINER(vbox), wid);
&lt;br&gt;&lt;br&gt;&lt;br&gt;The getGladeWidget() function is defined as follows.
&lt;br&gt;&lt;br&gt;GtkWidget *getGladeWidget(gchar *filename, gchar *glade_widget_id,
&lt;br&gt;gboolean connect) {
&lt;br&gt;&amp;nbsp; GladeXML *xml=NULL;
&lt;br&gt;&amp;nbsp; GladeInterface *iface=NULL;
&lt;br&gt;&amp;nbsp; GladeWidgetInfo *info=NULL;
&lt;br&gt;&amp;nbsp; GtkWidget *rwidget=NULL; /* the return widget */
&lt;br&gt;&lt;br&gt;&amp;nbsp; xml=glade_xml_new(filename, glade_widget_id, NULL);
&lt;br&gt;&lt;br&gt;&amp;nbsp; iface=glade_parser_parse_file((filename, NULL);
&lt;br&gt;&amp;nbsp; if (!iface) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; g_object_unref(G_OBJECT(xml));
&lt;br&gt;&amp;nbsp; &amp;nbsp; g_error(&amp;quot;%s:%d getGladeWidget() iface is NULL.\n&amp;quot;, &amp;nbsp;__FILE__, __LINE__);
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; info=(GladeWidgetInfo *)g_hash_table_lookup(iface-&amp;gt;names,
&lt;br&gt;glade_widget_id);
&lt;br&gt;&amp;nbsp; rwidget=glade_xml_build_widget(xml, info);
&lt;br&gt;&amp;nbsp; gtk_widget_show(rwidget);
&lt;br&gt;&lt;br&gt;&amp;nbsp; if(connect==TRUE) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; glade_xml_signal_autoconnect(xml); // Connect the Signals
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;&amp;nbsp; glade_interface_destroy(iface);
&lt;br&gt;&amp;nbsp; g_object_unref(G_OBJECT(xml));
&lt;br&gt;&lt;br&gt;&amp;nbsp; return rwidget;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;Good Luck.
&lt;br&gt;&lt;br&gt;dhk
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26820514&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Loading-widgets-from-XML-file-using-libglade-tp26815781p26820514.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26816710</id>
	<title>Re: Loading widgets from XML file using libglade</title>
	<published>2009-12-16T11:10:10Z</published>
	<updated>2009-12-16T11:10:10Z</updated>
	<author>
		<name>Andrew Wood-16</name>
	</author>
	<content type="html">Ah. &amp;nbsp;The rightpanevbox is inside the right portion of an HPane. I want 
&lt;br&gt;the left side of the HPane to stay the same (declared in code) but the 
&lt;br&gt;contents of the right side to change (and be loaded from Glade).
&lt;br&gt;&lt;br&gt;&lt;br&gt;The page1.glade file is as follows. I dont actually want that 'window1' 
&lt;br&gt;but I cant seem to find a way of setting the top level as just a vbox.
&lt;br&gt;&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;glade-interface&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;lt;!-- interface-requires gtk+ 2.16 --&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;lt;!-- interface-naming-policy project-wide --&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;lt;widget class=&amp;quot;GtkWindow&amp;quot; id=&amp;quot;window1&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;widget class=&amp;quot;GtkVBox&amp;quot; id=&amp;quot;mainvbox&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;property name=&amp;quot;visible&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;property name=&amp;quot;orientation&amp;quot;&amp;gt;vertical&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;widget class=&amp;quot;GtkLabel&amp;quot; id=&amp;quot;label1&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;property name=&amp;quot;visible&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;property name=&amp;quot;label&amp;quot; translatable=&amp;quot;yes&amp;quot;&amp;gt;PAGE1&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/widget&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;packing&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;property name=&amp;quot;position&amp;quot;&amp;gt;0&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/packing&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/widget&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp;&amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp;&amp;lt;/widget&amp;gt;
&lt;br&gt;&amp;lt;/glade-interface&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;David López Luengo wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The problem comes because your rightpanevbox widget is already inside 
&lt;br&gt;&amp;gt; another widget. Are you sure that in the mainvbox file definition, 
&lt;br&gt;&amp;gt; rightpanevbox is the top widget? If you post the xml would help a lot. 
&lt;br&gt;&amp;gt; It seems to be an easy-to-solve problem :-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Good luck!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; David
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/12/16 Andrew Wood &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26816710&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ajwood@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26816710&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ajwood@...&lt;/a&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Im having problems getting libglade to load widgets from an XML file.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; My aim is to have a GtkVBox in a window - the window is made in
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; code not
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Glade, and the contents of the vbox will be loaded from Glade
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; files such
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; that the contents of the vbox can change as the app runs.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; To test it out I created 2 Glade XML files page1.glade and 
&lt;br&gt;&amp;gt; page2.glade
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; each have the following hierarchy: &amp;nbsp;GtkWindow-&amp;gt;GtkVBox-&amp;gt;GtkLabel
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; The label contains the text &amp;quot;Page1&amp;quot; or &amp;quot;Page2&amp;quot; accordingly. I want to
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; load the GtkVBox from either file and use it to 'replace' a manually
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; created vbox which is in code.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; In the code which is just a short 'main' file Ive declared the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; following:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; GladeXML* page1xml;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; GladeXML* page2xml;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; GtkWidget* mainwindow;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; GtkWidget* rightpanescrollview;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; GtkWidget* rightpanevbox;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; page1xml=glade_xml_new(&amp;quot;./page1.glade&amp;quot;,NULL,NULL);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; rightpanevbox= glade_xml_get_widget(page1xml,&amp;quot;mainvbox&amp;quot;);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(rightpanescrollview),rightpanevbox); 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; The rightpanevbox is then put into the window.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; But when the app runs the label from Glade doesnt appear and the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; following is printed on the console:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; (a.out:3894): Gtk-CRITICAL **: gtk_scrolled_window_add_with_viewport:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; assertion `child-&amp;gt;parent == NULL' failed
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I tried decalring in code a GtkWindow and loading the top-level 
&lt;br&gt;&amp;gt; window
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; widget from the XML file but again I got an error similar but 
&lt;br&gt;&amp;gt; slightly
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; different suggesting that no widgets are actually being found in
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; the file.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; The file itself is found because it throws up an error if I change 
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; filename in the call to &amp;nbsp;glade_xml_new but it seemingly cant find
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; anything in that file.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Any suggestions? I can post the entire main code file if it would 
&lt;br&gt;&amp;gt; help
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; its not very long.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Thanks
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Andrew
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; _______________________________________________
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26816710&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26816710&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; David
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; This email has been scanned by the MessageLabs Email Security System.
&lt;br&gt;&amp;gt; For more information please visit &lt;a href=&quot;http://www.messagelabs.com/email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.messagelabs.com/email&lt;/a&gt;&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;/div&gt;&lt;br&gt;&lt;br&gt;David López Luengo wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The problem comes because your rightpanevbox widget is already inside 
&lt;br&gt;&amp;gt; another widget. Are you sure that in the mainvbox file definition, 
&lt;br&gt;&amp;gt; rightpanevbox is the top widget? If you post the xml would help a lot. 
&lt;br&gt;&amp;gt; It seems to be an easy-to-solve problem :-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Good luck!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; David
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/12/16 Andrew Wood &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26816710&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ajwood@...&lt;/a&gt; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26816710&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ajwood@...&lt;/a&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Im having problems getting libglade to load widgets from an XML file.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; My aim is to have a GtkVBox in a window - the window is made in
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; code not
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Glade, and the contents of the vbox will be loaded from Glade
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; files such
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; that the contents of the vbox can change as the app runs.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; To test it out I created 2 Glade XML files page1.glade and page2.glade
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; each have the following hierarchy: &amp;nbsp;GtkWindow-&amp;gt;GtkVBox-&amp;gt;GtkLabel
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; The label contains the text &amp;quot;Page1&amp;quot; or &amp;quot;Page2&amp;quot; accordingly. I want to
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; load the GtkVBox from either file and use it to 'replace' a manually
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; created vbox which is in code.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; In the code which is just a short 'main' file Ive declared the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; following:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; GladeXML* page1xml;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; GladeXML* page2xml;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; GtkWidget* mainwindow;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; GtkWidget* rightpanescrollview;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; GtkWidget* rightpanevbox;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; page1xml=glade_xml_new(&amp;quot;./page1.glade&amp;quot;,NULL,NULL);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; rightpanevbox= glade_xml_get_widget(page1xml,&amp;quot;mainvbox&amp;quot;);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(rightpanescrollview),rightpanevbox);
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; The rightpanevbox is then put into the window.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; But when the app runs the label from Glade doesnt appear and the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; following is printed on the console:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; (a.out:3894): Gtk-CRITICAL **: gtk_scrolled_window_add_with_viewport:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; assertion `child-&amp;gt;parent == NULL' failed
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; I tried decalring in code a GtkWindow and loading the top-level window
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; widget from the XML file but again I got an error similar but slightly
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; different suggesting that no widgets are actually being found in
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; the file.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; The file itself is found because it throws up an error if I change the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; filename in the call to &amp;nbsp;glade_xml_new but it seemingly cant find
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; anything in that file.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Any suggestions? I can post the entire main code file if it would help
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; its not very long.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Thanks
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Andrew
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; _______________________________________________
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26816710&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26816710&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; David
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;br&gt;&amp;gt; This email has been scanned by the MessageLabs Email Security System.
&lt;br&gt;&amp;gt; For more information please visit &lt;a href=&quot;http://www.messagelabs.com/email&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.messagelabs.com/email&lt;/a&gt;&lt;br&gt;&amp;gt; ______________________________________________________________________
&lt;/div&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26816710&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Loading-widgets-from-XML-file-using-libglade-tp26815781p26816710.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26815781</id>
	<title>Loading widgets from XML file using libglade</title>
	<published>2009-12-16T10:02:46Z</published>
	<updated>2009-12-16T10:02:46Z</updated>
	<author>
		<name>Andrew Wood-16</name>
	</author>
	<content type="html">Im having problems getting libglade to load widgets from an XML file. &amp;nbsp;
&lt;br&gt;My aim is to have a GtkVBox in a window - the window is made in code not 
&lt;br&gt;Glade, and the contents of the vbox will be loaded from Glade files such 
&lt;br&gt;that the contents of the vbox can change as the app runs. 
&lt;br&gt;&lt;br&gt;To test it out I created 2 Glade XML files page1.glade and page2.glade 
&lt;br&gt;each have the following hierarchy: &amp;nbsp;GtkWindow-&amp;gt;GtkVBox-&amp;gt;GtkLabel
&lt;br&gt;&lt;br&gt;The label contains the text &amp;quot;Page1&amp;quot; or &amp;quot;Page2&amp;quot; accordingly. I want to 
&lt;br&gt;load the GtkVBox from either file and use it to 'replace' a manually 
&lt;br&gt;created vbox which is in code.
&lt;br&gt;&lt;br&gt;In the code which is just a short 'main' file Ive declared the following:
&lt;br&gt;&lt;br&gt;GladeXML* page1xml;
&lt;br&gt;GladeXML* page2xml;
&lt;br&gt;&lt;br&gt;GtkWidget* mainwindow;
&lt;br&gt;GtkWidget* rightpanescrollview;
&lt;br&gt;GtkWidget* rightpanevbox;
&lt;br&gt;&lt;br&gt;page1xml=glade_xml_new(&amp;quot;./page1.glade&amp;quot;,NULL,NULL);
&lt;br&gt;rightpanevbox= glade_xml_get_widget(page1xml,&amp;quot;mainvbox&amp;quot;);
&lt;br&gt;&lt;br&gt;gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(rightpanescrollview),rightpanevbox);
&lt;br&gt;&lt;br&gt;The rightpanevbox is then put into the window.
&lt;br&gt;&lt;br&gt;But when the app runs the label from Glade doesnt appear and the 
&lt;br&gt;following is printed on the console:
&lt;br&gt;&lt;br&gt;(a.out:3894): Gtk-CRITICAL **: gtk_scrolled_window_add_with_viewport: 
&lt;br&gt;assertion `child-&amp;gt;parent == NULL' failed
&lt;br&gt;I tried decalring in code a GtkWindow and loading the top-level window 
&lt;br&gt;widget from the XML file but again I got an error similar but slightly 
&lt;br&gt;different suggesting that no widgets are actually being found in the file.
&lt;br&gt;&lt;br&gt;The file itself is found because it throws up an error if I change the 
&lt;br&gt;filename in the call to &amp;nbsp;glade_xml_new but it seemingly cant find 
&lt;br&gt;anything in that file.
&lt;br&gt;&lt;br&gt;Any suggestions? I can post the entire main code file if it would help 
&lt;br&gt;its not very long.
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;Andrew
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26815781&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Loading-widgets-from-XML-file-using-libglade-tp26815781p26815781.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26646988</id>
	<title>Re: please help: bug: glade2 file conversion to glade3 failed</title>
	<published>2009-12-04T10:28:33Z</published>
	<updated>2009-12-04T10:28:33Z</updated>
	<author>
		<name>Tristan Van Berkom-2</name>
	</author>
	<content type="html">On Fri, Dec 4, 2009 at 3:00 PM, Saku Masukita
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26646988&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sakumasukita@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Nov 25, 2009 at 7:01 PM, Tristan Van Berkom
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26646988&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tristan.van.berkom@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Wed, Nov 25, 2009 at 4:31 PM, Saku Masukita
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26646988&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sakumasukita@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Dont care about that warning, its a missing translation and has nothing
&lt;br&gt;&amp;gt;&amp;gt; to do with loading your project.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you Tristan,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; What version of Glade do you have ? try the latest tarball
&lt;br&gt;&amp;gt;&amp;gt; from ftp.gnome.org (3.6.7).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In fact I have upgraded to the latest version of Ubuntu (9.10) and
&lt;br&gt;&amp;gt; glade (alias glade-3) comes installed (there is no glade-2) but after
&lt;br&gt;&amp;gt; commenting out the aforementioned line I can load everything now
&lt;br&gt;&amp;gt; but still have that horizontal/vertical problem you mentioned.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Does it crash before or after firing a bunch of runtime warnings about
&lt;br&gt;&amp;gt;&amp;gt; GtkCList ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No it does not crash now that I have the latest version.
&lt;br&gt;&amp;gt; I just get several warnings.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; needed for the icon definitions and Glade
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;    did not crash - for your app to look normal;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I see several GtkImage instances in the glade file. Are these the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; icon definitions you are referring to?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I know, Glade 2 does not output that property, cause its new, its new and
&lt;br&gt;&amp;gt;&amp;gt; introduced broken.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Too bad that such property was introduced broken.
&lt;br&gt;&amp;gt; Do you foresee that in future versions such conversion
&lt;br&gt;&amp;gt; problem would be fixed?
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;The easiest fix would be in GTK+, to fix it from a conversion
&lt;br&gt;could be possible from Glade, i.e. we could make the rude assumption
&lt;br&gt;that any libglade file is broken and &amp;quot;fix&amp;quot; it on the way into GtkBuilder;
&lt;br&gt;that would not solve the problem of any GtkBuilder files that were
&lt;br&gt;created before the GTK+ version introducing GtkOrientable (which is
&lt;br&gt;the other half of the problem at hand).
&lt;br&gt;&lt;br&gt;I cant speak for when that bug will be fixed in GTK+, I did not submit
&lt;br&gt;a patch myself, although such a patch would be arguably easy to write.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Tristan
&lt;br&gt;_______________________________________________
&lt;br&gt;Glade-devel maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26646988&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---Dev-f1324.html&quot; embed=&quot;fixTarget[1324]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/please-help%3A-bug%3A-glade2-file-conversion-to-glade3-failed-tp26467085p26646988.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26645642</id>
	<title>Re: please help: bug: glade2 file conversion to glade3 failed</title>
	<published>2009-12-04T09:00:00Z</published>
	<updated>2009-12-04T09:00:00Z</updated>
	<author>
		<name>Saku Masukita</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Wed, Nov 25, 2009 at 7:01 PM, Tristan Van Berkom &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26645642&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tristan.van.berkom@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;On Wed, Nov 25, 2009 at 4:31 PM, Saku Masukita&lt;br&gt;
&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26645642&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sakumasukita@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;Dont care about that warning, its a missing translation and has nothing&lt;br&gt;
to do with loading your project.&lt;br&gt;&lt;/blockquote&gt;&lt;div class=&quot;im&quot;&gt;&lt;br&gt;Thank you Tristan,&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
What version of Glade do you have ? try the latest tarball&lt;br&gt;
from &lt;a href=&quot;http://ftp.gnome.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;ftp.gnome.org&lt;/a&gt; (3.6.7).&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;
In fact I have upgraded to the latest version of Ubuntu (9.10) and&lt;br&gt;
glade (alias glade-3) comes installed (there is no glade-2) but after&lt;br&gt;
commenting out the aforementioned line I can load everything now&lt;br&gt;
but still have that horizontal/vertical problem you mentioned. &lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Does it crash before or after firing a bunch of runtime warnings about&lt;br&gt;
GtkCList ?&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;No it does not crash now that I have the latest version.&lt;br&gt;I just get several warnings.&lt;br&gt; &lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; needed for the icon definitions and Glade&lt;br&gt;
&amp;gt;&amp;gt;    did not crash - for your app to look normal;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I see several GtkImage instances in the glade file. Are these the&lt;br&gt;
&amp;gt; icon definitions you are referring to?&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;/div&gt;I know, Glade 2 does not output that property, cause its new, its new and&lt;br&gt;
introduced broken.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Too bad that such property was introduced broken.&lt;br&gt;Do you foresee that in future versions such conversion&lt;br&gt;problem would be fixed?&lt;br&gt;&lt;br&gt;Thank you very much for your help,&lt;br&gt;
&lt;br&gt;Regards,&lt;br&gt;&lt;br&gt;John Goche&lt;br&gt;&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Glade-devel maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26645642&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---Dev-f1324.html&quot; embed=&quot;fixTarget[1324]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/please-help%3A-bug%3A-glade2-file-conversion-to-glade3-failed-tp26467085p26645642.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26625999</id>
	<title>Re: Setting sort column ID for GtkTreeViewColumn</title>
	<published>2009-12-03T05:33:44Z</published>
	<updated>2009-12-03T05:33:44Z</updated>
	<author>
		<name>Tadej Borovšak</name>
	</author>
	<content type="html">Hello.
&lt;br&gt;&lt;br&gt;&amp;gt; Is there a way of specifying the sort column ID for a
&lt;br&gt;&amp;gt; GtkTreeViewColumn in Glade 3?
&lt;br&gt;&lt;br&gt;Last property under general tab controls this. I attached simple glade
&lt;br&gt;file that demonstrates how to set this property.
&lt;br&gt;&lt;br&gt;---- CODE ----
&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;interface&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;requires lib=&amp;quot;gtk+&amp;quot; version=&amp;quot;2.16&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;!-- interface-naming-policy project-wide --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;object class=&amp;quot;GtkWindow&amp;quot; id=&amp;quot;window1&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;object class=&amp;quot;GtkTreeView&amp;quot; id=&amp;quot;treeview1&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;visible&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;can_focus&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;model&amp;quot;&amp;gt;liststore1&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;object class=&amp;quot;GtkTreeViewColumn&amp;quot; id=&amp;quot;treeviewcolumn1&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;title&amp;quot;&amp;gt;column&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;clickable&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;sort_indicator&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;sort_column_id&amp;quot;&amp;gt;0&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;object class=&amp;quot;GtkCellRendererText&amp;quot; id=&amp;quot;cellrenderertext1&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;attributes&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;attribute name=&amp;quot;text&amp;quot;&amp;gt;0&amp;lt;/attribute&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/attributes&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/object&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;object class=&amp;quot;GtkTreeViewColumn&amp;quot; id=&amp;quot;treeviewcolumn2&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;title&amp;quot;&amp;gt;column&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;clickable&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;sort_indicator&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;sort_column_id&amp;quot;&amp;gt;1&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;object class=&amp;quot;GtkCellRendererText&amp;quot; id=&amp;quot;cellrenderertext2&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;attributes&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;attribute name=&amp;quot;text&amp;quot;&amp;gt;1&amp;lt;/attribute&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/attributes&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/object&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/object&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/object&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;object class=&amp;quot;GtkListStore&amp;quot; id=&amp;quot;liststore1&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;columns&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- column-name col1 --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;column type=&amp;quot;gint&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!-- column-name col2 --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;column type=&amp;quot;gint&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/columns&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;data&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;row&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;col id=&amp;quot;0&amp;quot;&amp;gt;1&amp;lt;/col&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;col id=&amp;quot;1&amp;quot;&amp;gt;7&amp;lt;/col&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/row&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;row&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;col id=&amp;quot;0&amp;quot;&amp;gt;2&amp;lt;/col&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;col id=&amp;quot;1&amp;quot;&amp;gt;6&amp;lt;/col&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/row&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;row&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;col id=&amp;quot;0&amp;quot;&amp;gt;3&amp;lt;/col&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;col id=&amp;quot;1&amp;quot;&amp;gt;5&amp;lt;/col&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/row&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;row&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;col id=&amp;quot;0&amp;quot;&amp;gt;4&amp;lt;/col&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;col id=&amp;quot;1&amp;quot;&amp;gt;4&amp;lt;/col&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/row&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;row&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;col id=&amp;quot;0&amp;quot;&amp;gt;5&amp;lt;/col&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;col id=&amp;quot;1&amp;quot;&amp;gt;3&amp;lt;/col&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/row&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;row&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;col id=&amp;quot;0&amp;quot;&amp;gt;6&amp;lt;/col&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;col id=&amp;quot;1&amp;quot;&amp;gt;2&amp;lt;/col&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/row&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/data&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/object&amp;gt;
&lt;br&gt;&amp;lt;/interface&amp;gt;
&lt;br&gt;---- CODE ----
&lt;br&gt;&lt;br&gt;Tadej
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tadej Borovšak
&lt;br&gt;tadeboro.blogspot.com
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26625999&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tadeboro@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26625999&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tadej.borovsak@...&lt;/a&gt;
&lt;br&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26625999&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Setting-sort-column-ID-for-GtkTreeViewColumn-tp26624547p26625999.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26624547</id>
	<title>Setting sort column ID for GtkTreeViewColumn</title>
	<published>2009-12-03T03:31:36Z</published>
	<updated>2009-12-03T03:31:36Z</updated>
	<author>
		<name>John Delaney-3</name>
	</author>
	<content type="html">Is there a way of specifying the sort column ID for a
&lt;br&gt;GtkTreeViewColumn in Glade 3?
&lt;br&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26624547&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Setting-sort-column-ID-for-GtkTreeViewColumn-tp26624547p26624547.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534442</id>
	<title>why depend on version 3 of libgnome and libgda + current versions</title>
	<published>2009-11-26T12:18:22Z</published>
	<updated>2009-11-26T12:18:22Z</updated>
	<author>
		<name>A.M. Abdelaziz</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;when I installed glade3 it pulled:&lt;br&gt;libgnomedb3 and libgnomedb (which is version 4)&lt;br&gt;libgda-3_0-3 and libgda-4_0-4&lt;br&gt;I tried uninstalling:&lt;br&gt;&lt;br&gt;libgnomedb3&lt;br&gt;glade3-libgnomedb3&lt;br&gt;libgda-3_0-3&lt;br&gt;&lt;br&gt;

and everything is fine, glade doesn&amp;#39;t spit any errors or warnings that didn&amp;#39;t exist before.&lt;br&gt;&lt;br&gt;so why have old versions + current version?&lt;br&gt;&lt;br&gt;my system is openSUSE 11.2 x86 GNOME, installed glade3 from yast&lt;br&gt;

&lt;br&gt;I thought maybe this is an openSUSE issue, but maybe u have something to say ?&lt;br clear=&quot;all&quot;&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;A.M. Abdelaziz&lt;br&gt;
&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Glade-devel maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534442&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---Dev-f1324.html&quot; embed=&quot;fixTarget[1324]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/why-depend-on-version-3-of-libgnome-and-libgda-%2B-current-versions-tp26534442p26534442.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534418</id>
	<title>why depend on version 3 of libgnome and libgda + current versions</title>
	<published>2009-11-26T12:15:01Z</published>
	<updated>2009-11-26T12:15:01Z</updated>
	<author>
		<name>A.M. Abdelaziz</name>
	</author>
	<content type="html">&lt;div dir=&quot;ltr&quot;&gt;when I installed glade3 it pulled:&lt;br&gt;libgnomedb3 and libgnomedb (which is version 4)&lt;br&gt;libgda-3_0-3 and libgda-4_0-4&lt;br&gt;I tried uninstalling:&lt;br&gt;&lt;br&gt;libgnomedb3&lt;br&gt;glade3-libgnomedb3&lt;br&gt;libgda-3_0-3&lt;br&gt;&lt;br&gt;
and everything is fine, glade doesn&amp;#39;t spit any errors or warnings that didn&amp;#39;t exist before.&lt;br&gt;&lt;br&gt;so why have old versions + current version?&lt;br&gt;&lt;br&gt;my system is openSUSE 11.2 x86 GNOME, installed glade3 from yast&lt;br&gt;
&lt;br&gt;I thought maybe this is an openSUSE issue, but maybe u have something to say ?&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;A.M. Abdelaziz&lt;br&gt;
&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534418&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/why-depend-on-version-3-of-libgnome-and-libgda-%2B-current-versions-tp26534418p26534418.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26501445</id>
	<title>Re: please help: bug: glade2 file conversion to glade3 failed</title>
	<published>2009-11-24T10:57:53Z</published>
	<updated>2009-11-24T10:57:53Z</updated>
	<author>
		<name>Tristan Van Berkom-2</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 4:52 PM, Tristan Van Berkom
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26501445&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tristan.van.berkom@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;  - You can introduce stock icons using the GtkIconFactory object
&lt;br&gt;&amp;gt; available with GtkBuilder
&lt;br&gt;&amp;gt;  - The GnomeDateEdit missing displayable value reflects a missing
&lt;br&gt;&amp;gt; translatable string in Glade's backend
&lt;br&gt;&amp;gt;    (seems the GTK+ backend handles some gnome types possibly, for
&lt;br&gt;&amp;gt; some minor conversions at load time)
&lt;br&gt;&amp;gt;  - People generally use GtkTreeView for what they used to use GtkCList for
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  - As far as &amp;quot;getting your Glade file to work&amp;quot;, As I said, I removed
&lt;br&gt;&amp;gt; the &amp;lt;requires&amp;gt; line as I saw it was only
&lt;br&gt;&amp;gt; needed for the icon definitions and Glade
&lt;br&gt;&amp;gt;    did not crash - for your app to look normal; the &amp;quot;orientation&amp;quot;
&lt;br&gt;&amp;gt; property of every GtkOrientable widget
&lt;br&gt;&amp;gt;    must be set properly, google might find you a script for this as
&lt;br&gt;&amp;gt; its a common problem, or, you might
&lt;br&gt;&amp;gt;    write one and tell google about it, or somebody might just fix the
&lt;br&gt;&amp;gt; bug in GTK+.
&lt;/div&gt;&lt;br&gt;&lt;br&gt;Oops hit send prematurely but the letter was done, essentially considering
&lt;br&gt;the shear size of your UI, converting it to use GtkBuilder will not be such
&lt;br&gt;an easy task - you will at least have to understand GtkTreeView for instance...
&lt;br&gt;&lt;br&gt;Anyway good luck with your project,
&lt;br&gt;&lt;br&gt;&amp;nbsp; -Tristan
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Tue, Nov 24, 2009 at 4:34 PM, Saku Masukita
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26501445&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sakumasukita@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Tue, Nov 24, 2009 at 4:39 PM, Tristan Van Berkom
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26501445&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tristan.van.berkom@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Yes, generally that just means replacing calls to glade_xml_new()
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; with gtk_builder_add_from_file(), and then glade_xml_get_widget()
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; with gtk_builder_get_object() (i.e. the api is very small).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The bulk of your work to use GtkBuilder would be to get rid
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; of the gnome widgets essentially, which is something you
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; would want to do anyway for new code.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; Obviously something needs to be done for me to be able to open the
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;gt; file with glade-3, but I am not sure exactly what. Any ideas?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; The warnings are normal (as we actually need people to contribute
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; artwork for those missing icons), the segfault I cant tell by looking into
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; your file, but I was able to do something with it.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; After looking at the segfault (which I didnt reproduce because I didnt
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; build the gnome catalog here...) I found that you do not use any gnome
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; widgets (good first of all for you), only gnome stock icons.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; So, after removing the &amp;lt;requires/&amp;gt; line from your Glade file I loaded
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; up with no segfault, but horizontally.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Yes, I was in fact aware of the fact that I had not used any gnome-specific
&lt;br&gt;&amp;gt;&amp;gt; code. So I cannot really explain to myself why the glade 2 GUI builder had
&lt;br&gt;&amp;gt;&amp;gt; placed the &amp;lt;requires lib=&amp;quot;gnome&amp;quot;/&amp;gt; XML element in the XML file but I
&lt;br&gt;&amp;gt;&amp;gt; guess glade 2 is history now so it's probably not worth fixing such bug.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Actually the reason might seem to be the fact that I have used some
&lt;br&gt;&amp;gt;&amp;gt; gnome icons in the glade 2 XML file despite not using any actual widgets.
&lt;br&gt;&amp;gt;&amp;gt; Here are the gnome icons from the glade 2 XML file which I seem to have
&lt;br&gt;&amp;gt;&amp;gt; been using (seem like these icons correspond to the stock property):
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; stock property:
&lt;br&gt;&amp;gt;&amp;gt; gnome-stock-text-numbered-list
&lt;br&gt;&amp;gt;&amp;gt; gnome-stock-multiple-file
&lt;br&gt;&amp;gt;&amp;gt; gnome-stock-mail-new
&lt;br&gt;&amp;gt;&amp;gt; gnome-stock-about
&lt;br&gt;&amp;gt;&amp;gt; gnome-stock-book-blue
&lt;br&gt;&amp;gt;&amp;gt; gnome-stock-book-yellow
&lt;br&gt;&amp;gt;&amp;gt; gnome-stock-book-red
&lt;br&gt;&amp;gt;&amp;gt; gnome-stock-book-green
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So, I'm not sure what the corresponding icons would be in
&lt;br&gt;&amp;gt;&amp;gt; the most recent Gtk icons if any at all. But I guess this is
&lt;br&gt;&amp;gt;&amp;gt; what I need to fix. Otherwise can I not just simply copy
&lt;br&gt;&amp;gt;&amp;gt; these gnome icons to my source code tree and somehow
&lt;br&gt;&amp;gt;&amp;gt; import them into glade-3 from there?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Otherwise what should I do? Should I just delete these lines
&lt;br&gt;&amp;gt;&amp;gt; to get it to work? Because right now despite deleting the
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;requires lib=&amp;quot;gnome&amp;quot;/&amp;gt; tag I still get the segmentation
&lt;br&gt;&amp;gt;&amp;gt; fault.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Plus I just don't understand what these complaints about
&lt;br&gt;&amp;gt;&amp;gt; GnomeDateEdit which I don't see used within the glade 2
&lt;br&gt;&amp;gt;&amp;gt; file are. And the names of the icons from the warnings do
&lt;br&gt;&amp;gt;&amp;gt; not appear inside the glade 2 file either. I am confused.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I guess 4034 is just an error code (apart from the segfault).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -------------------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; GladeUI-Message: No displayable values for property GtkScaleButton::size
&lt;br&gt;&amp;gt;&amp;gt; GladeUI-Message: No displayable values for property GtkImage::icon-size
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-sizegroup' was
&lt;br&gt;&amp;gt;&amp;gt; found for object class 'GtkSizeGroup'.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-accelgroup'
&lt;br&gt;&amp;gt;&amp;gt; was found for object class 'GtkAccelGroup'.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-adjustment'
&lt;br&gt;&amp;gt;&amp;gt; was found for object class 'GtkAdjustment'.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-uimanager' was
&lt;br&gt;&amp;gt;&amp;gt; found for object class 'GtkUIManager'.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named
&lt;br&gt;&amp;gt;&amp;gt; 'widget-gtk-treemodelfilter' was found for object class
&lt;br&gt;&amp;gt;&amp;gt; 'GtkTreeModelFilter'.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-treemodelsort'
&lt;br&gt;&amp;gt;&amp;gt; was found for object class 'GtkTreeModelSort'.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-treeselection'
&lt;br&gt;&amp;gt;&amp;gt; was found for object class 'GtkTreeSelection'.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-statusicon'
&lt;br&gt;&amp;gt;&amp;gt; was found for object class 'GtkStatusIcon'.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-textbuffer'
&lt;br&gt;&amp;gt;&amp;gt; was found for object class 'GtkTextBuffer'.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-texttag' was
&lt;br&gt;&amp;gt;&amp;gt; found for object class 'GtkTextTag'.
&lt;br&gt;&amp;gt;&amp;gt; GladeUI-Message: No displayable values for property GtkTextTag::direction
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-texttagtable'
&lt;br&gt;&amp;gt;&amp;gt; was found for object class 'GtkTextTagTable'.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-filefilter'
&lt;br&gt;&amp;gt;&amp;gt; was found for object class 'GtkFileFilter'.
&lt;br&gt;&amp;gt;&amp;gt; GladeUI-Message: 1 missing displayable value for
&lt;br&gt;&amp;gt;&amp;gt; GnomeDateEdit::dateedit-flags
&lt;br&gt;&amp;gt;&amp;gt; GladeUI-Message: No displayable values for property
&lt;br&gt;&amp;gt;&amp;gt; GnomeIconList::selection-mode
&lt;br&gt;&amp;gt;&amp;gt; Segmentation fault
&lt;br&gt;&amp;gt;&amp;gt; -------------------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To fix the horizontalness, I'm not sure if someone attached a script
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; to the bug that does that (since your file is considerably large and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; a PITA to fix by hand), fixing it by hand means fixing the orientation
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; property of each vbox/vpaned etc in the project.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Yeah, maybe a script is needed, but since I don't really understand what
&lt;br&gt;&amp;gt;&amp;gt; the replacements should be I am also not sure about how to write such
&lt;br&gt;&amp;gt;&amp;gt; script.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I got a bunch of errors from CList, seems support for CList somehow
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; got broken in Glade, however your file still seems to load and save ok,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Im not sure whats going on with your CList children (ofcourse you will
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; have to drop deprecated GtkCList anyway to move on to GtkBuilder).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So what do I use in place of GtkCList or CList?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; In terms of litterature I think there is not much, its better for you to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; stick with some tutorials, reference manuals, the source and irc I
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; would think.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thank, I will have a look at these as well, but what other modifications
&lt;br&gt;&amp;gt;&amp;gt; did you make to the glade file to get it to work?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Saku Masukita
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Glade-devel maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26501445&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---Dev-f1324.html&quot; embed=&quot;fixTarget[1324]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/please-help%3A-bug%3A-glade2-file-conversion-to-glade3-failed-tp26467085p26501445.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26501384</id>
	<title>Re: please help: bug: glade2 file conversion to glade3 failed</title>
	<published>2009-11-24T10:52:25Z</published>
	<updated>2009-11-24T10:52:25Z</updated>
	<author>
		<name>Tristan Van Berkom-2</name>
	</author>
	<content type="html">&amp;nbsp; - You can introduce stock icons using the GtkIconFactory object
&lt;br&gt;available with GtkBuilder
&lt;br&gt;&amp;nbsp; - The GnomeDateEdit missing displayable value reflects a missing
&lt;br&gt;translatable string in Glade's backend
&lt;br&gt;&amp;nbsp; &amp;nbsp; (seems the GTK+ backend handles some gnome types possibly, for
&lt;br&gt;some minor conversions at load time)
&lt;br&gt;&amp;nbsp; - People generally use GtkTreeView for what they used to use GtkCList for
&lt;br&gt;&lt;br&gt;&amp;nbsp; - As far as &amp;quot;getting your Glade file to work&amp;quot;, As I said, I removed
&lt;br&gt;the &amp;lt;requires&amp;gt; line as I saw it was only
&lt;br&gt;needed for the icon definitions and Glade
&lt;br&gt;&amp;nbsp; &amp;nbsp; did not crash - for your app to look normal; the &amp;quot;orientation&amp;quot;
&lt;br&gt;property of every GtkOrientable widget
&lt;br&gt;&amp;nbsp; &amp;nbsp; must be set properly, google might find you a script for this as
&lt;br&gt;its a common problem, or, you might
&lt;br&gt;&amp;nbsp; &amp;nbsp; write one and tell google about it, or somebody might just fix the
&lt;br&gt;bug in GTK+.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;On Tue, Nov 24, 2009 at 4:34 PM, Saku Masukita
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26501384&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sakumasukita@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Tue, Nov 24, 2009 at 4:39 PM, Tristan Van Berkom
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26501384&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tristan.van.berkom@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Yes, generally that just means replacing calls to glade_xml_new()
&lt;br&gt;&amp;gt;&amp;gt; with gtk_builder_add_from_file(), and then glade_xml_get_widget()
&lt;br&gt;&amp;gt;&amp;gt; with gtk_builder_get_object() (i.e. the api is very small).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The bulk of your work to use GtkBuilder would be to get rid
&lt;br&gt;&amp;gt;&amp;gt; of the gnome widgets essentially, which is something you
&lt;br&gt;&amp;gt;&amp;gt; would want to do anyway for new code.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Obviously something needs to be done for me to be able to open the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; file with glade-3, but I am not sure exactly what. Any ideas?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The warnings are normal (as we actually need people to contribute
&lt;br&gt;&amp;gt;&amp;gt; artwork for those missing icons), the segfault I cant tell by looking into
&lt;br&gt;&amp;gt;&amp;gt; your file, but I was able to do something with it.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; After looking at the segfault (which I didnt reproduce because I didnt
&lt;br&gt;&amp;gt;&amp;gt; build the gnome catalog here...) I found that you do not use any gnome
&lt;br&gt;&amp;gt;&amp;gt; widgets (good first of all for you), only gnome stock icons.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; So, after removing the &amp;lt;requires/&amp;gt; line from your Glade file I loaded
&lt;br&gt;&amp;gt;&amp;gt; up with no segfault, but horizontally.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yes, I was in fact aware of the fact that I had not used any gnome-specific
&lt;br&gt;&amp;gt; code. So I cannot really explain to myself why the glade 2 GUI builder had
&lt;br&gt;&amp;gt; placed the &amp;lt;requires lib=&amp;quot;gnome&amp;quot;/&amp;gt; XML element in the XML file but I
&lt;br&gt;&amp;gt; guess glade 2 is history now so it's probably not worth fixing such bug.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Actually the reason might seem to be the fact that I have used some
&lt;br&gt;&amp;gt; gnome icons in the glade 2 XML file despite not using any actual widgets.
&lt;br&gt;&amp;gt; Here are the gnome icons from the glade 2 XML file which I seem to have
&lt;br&gt;&amp;gt; been using (seem like these icons correspond to the stock property):
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; stock property:
&lt;br&gt;&amp;gt; gnome-stock-text-numbered-list
&lt;br&gt;&amp;gt; gnome-stock-multiple-file
&lt;br&gt;&amp;gt; gnome-stock-mail-new
&lt;br&gt;&amp;gt; gnome-stock-about
&lt;br&gt;&amp;gt; gnome-stock-book-blue
&lt;br&gt;&amp;gt; gnome-stock-book-yellow
&lt;br&gt;&amp;gt; gnome-stock-book-red
&lt;br&gt;&amp;gt; gnome-stock-book-green
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So, I'm not sure what the corresponding icons would be in
&lt;br&gt;&amp;gt; the most recent Gtk icons if any at all. But I guess this is
&lt;br&gt;&amp;gt; what I need to fix. Otherwise can I not just simply copy
&lt;br&gt;&amp;gt; these gnome icons to my source code tree and somehow
&lt;br&gt;&amp;gt; import them into glade-3 from there?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Otherwise what should I do? Should I just delete these lines
&lt;br&gt;&amp;gt; to get it to work? Because right now despite deleting the
&lt;br&gt;&amp;gt; &amp;lt;requires lib=&amp;quot;gnome&amp;quot;/&amp;gt; tag I still get the segmentation
&lt;br&gt;&amp;gt; fault.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Plus I just don't understand what these complaints about
&lt;br&gt;&amp;gt; GnomeDateEdit which I don't see used within the glade 2
&lt;br&gt;&amp;gt; file are. And the names of the icons from the warnings do
&lt;br&gt;&amp;gt; not appear inside the glade 2 file either. I am confused.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I guess 4034 is just an error code (apart from the segfault).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; GladeUI-Message: No displayable values for property GtkScaleButton::size
&lt;br&gt;&amp;gt; GladeUI-Message: No displayable values for property GtkImage::icon-size
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-sizegroup' was
&lt;br&gt;&amp;gt; found for object class 'GtkSizeGroup'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-accelgroup'
&lt;br&gt;&amp;gt; was found for object class 'GtkAccelGroup'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-adjustment'
&lt;br&gt;&amp;gt; was found for object class 'GtkAdjustment'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-uimanager' was
&lt;br&gt;&amp;gt; found for object class 'GtkUIManager'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named
&lt;br&gt;&amp;gt; 'widget-gtk-treemodelfilter' was found for object class
&lt;br&gt;&amp;gt; 'GtkTreeModelFilter'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-treemodelsort'
&lt;br&gt;&amp;gt; was found for object class 'GtkTreeModelSort'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-treeselection'
&lt;br&gt;&amp;gt; was found for object class 'GtkTreeSelection'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-statusicon'
&lt;br&gt;&amp;gt; was found for object class 'GtkStatusIcon'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-textbuffer'
&lt;br&gt;&amp;gt; was found for object class 'GtkTextBuffer'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-texttag' was
&lt;br&gt;&amp;gt; found for object class 'GtkTextTag'.
&lt;br&gt;&amp;gt; GladeUI-Message: No displayable values for property GtkTextTag::direction
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-texttagtable'
&lt;br&gt;&amp;gt; was found for object class 'GtkTextTagTable'.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (glade-3:4034): GladeUI-WARNING **: No icon named 'widget-gtk-filefilter'
&lt;br&gt;&amp;gt; was found for object class 'GtkFileFilter'.
&lt;br&gt;&amp;gt; GladeUI-Message: 1 missing displayable value for
&lt;br&gt;&amp;gt; GnomeDateEdit::dateedit-flags
&lt;br&gt;&amp;gt; GladeUI-Message: No displayable values for property
&lt;br&gt;&amp;gt; GnomeIconList::selection-mode
&lt;br&gt;&amp;gt; Segmentation fault
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; To fix the horizontalness, I'm not sure if someone attached a script
&lt;br&gt;&amp;gt;&amp;gt; to the bug that does that (since your file is considerably large and
&lt;br&gt;&amp;gt;&amp;gt; a PITA to fix by hand), fixing it by hand means fixing the orientation
&lt;br&gt;&amp;gt;&amp;gt; property of each vbox/vpaned etc in the project.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Yeah, maybe a script is needed, but since I don't really understand what
&lt;br&gt;&amp;gt; the replacements should be I am also not sure about how to write such
&lt;br&gt;&amp;gt; script.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I got a bunch of errors from CList, seems support for CList somehow
&lt;br&gt;&amp;gt;&amp;gt; got broken in Glade, however your file still seems to load and save ok,
&lt;br&gt;&amp;gt;&amp;gt; Im not sure whats going on with your CList children (ofcourse you will
&lt;br&gt;&amp;gt;&amp;gt; have to drop deprecated GtkCList anyway to move on to GtkBuilder).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So what do I use in place of GtkCList or CList?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In terms of litterature I think there is not much, its better for you to
&lt;br&gt;&amp;gt;&amp;gt; stick with some tutorials, reference manuals, the source and irc I
&lt;br&gt;&amp;gt;&amp;gt; would think.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank, I will have a look at these as well, but what other modifications
&lt;br&gt;&amp;gt; did you make to the glade file to get it to work?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Saku Masukita
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Glade-devel maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26501384&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---Dev-f1324.html&quot; embed=&quot;fixTarget[1324]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/please-help%3A-bug%3A-glade2-file-conversion-to-glade3-failed-tp26467085p26501384.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26501162</id>
	<title>Re: please help: bug: glade2 file conversion to glade3 failed</title>
	<published>2009-11-24T10:34:25Z</published>
	<updated>2009-11-24T10:34:25Z</updated>
	<author>
		<name>Saku Masukita</name>
	</author>
	<content type="html">&lt;br&gt;On Tue, Nov 24, 2009 at 4:39 PM, Tristan Van Berkom &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26501162&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tristan.van.berkom@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&lt;/div&gt;Yes, generally that just means replacing calls to glade_xml_new()&lt;br&gt;
with gtk_builder_add_from_file(), and then glade_xml_get_widget()&lt;br&gt;
with gtk_builder_get_object() (i.e. the api is very small).&lt;br&gt;
&lt;br&gt;
The bulk of your work to use GtkBuilder would be to get rid&lt;br&gt;
of the gnome widgets essentially, which is something you&lt;br&gt;
would want to do anyway for new code.&lt;br&gt;
&lt;div class=&quot;im&quot;&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Obviously something needs to be done for me to be able to open the&lt;br&gt;
&amp;gt; file with glade-3, but I am not sure exactly what. Any ideas?&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;The warnings are normal (as we actually need people to contribute&lt;br&gt;
artwork for those missing icons), the segfault I cant tell by looking into&lt;br&gt;
your file, but I was able to do something with it.&lt;br&gt;
&lt;br&gt;
After looking at the segfault (which I didnt reproduce because I didnt&lt;br&gt;
build the gnome catalog here...) I found that you do not use any gnome&lt;br&gt;
widgets (good first of all for you), only gnome stock icons.&lt;br&gt;
&lt;br&gt;
So, after removing the &amp;lt;requires/&amp;gt; line from your Glade file I loaded&lt;br&gt;
up with no segfault, but horizontally.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Yes, I was in fact aware of the fact that I had not used any gnome-specific&lt;br&gt;code. So I cannot really explain to myself why the glade 2 GUI builder had&lt;br&gt;
placed the &amp;lt;requires lib=&amp;quot;gnome&amp;quot;/&amp;gt; XML element in the XML file but I&lt;br&gt;guess glade 2 is history now so it&amp;#39;s probably not worth fixing such bug.&lt;br&gt;&lt;br&gt;Actually the reason might seem to be the fact that I have used some&lt;br&gt;
gnome icons in the glade 2 XML file despite not using any actual widgets.&lt;br&gt;Here are the gnome icons from the glade 2 XML file which I seem to have&lt;br&gt;been using (seem like these icons correspond to the stock property):&lt;br&gt;
&lt;br&gt;stock property:&lt;br&gt;gnome-stock-text-numbered-list&lt;br&gt;gnome-stock-multiple-file&lt;br&gt;gnome-stock-mail-new&lt;br&gt;gnome-stock-about&lt;br&gt;gnome-stock-book-blue&lt;br&gt;gnome-stock-book-yellow&lt;br&gt;gnome-stock-book-red&lt;br&gt;gnome-stock-book-green&lt;br&gt;
&lt;br&gt;So, I&amp;#39;m not sure what the corresponding icons would be in&lt;br&gt;the most recent Gtk icons if any at all. But I guess this is&lt;br&gt;what I need to fix. Otherwise can I not just simply copy&lt;br&gt;these gnome icons to my source code tree and somehow&lt;br&gt;
import them into glade-3 from there?&lt;br&gt;&lt;br&gt;Otherwise what should I do? Should I just delete these lines&lt;br&gt;to get it to work? Because right now despite deleting the&lt;br&gt;&amp;lt;requires lib=&amp;quot;gnome&amp;quot;/&amp;gt; tag I still get the segmentation&lt;br&gt;
fault. &lt;br&gt;&lt;br&gt;Plus I just don&amp;#39;t understand what these complaints about&lt;br&gt;GnomeDateEdit which I don&amp;#39;t see used within the glade 2&lt;br&gt;file are. And the names of the icons from the warnings do&lt;br&gt;not appear inside the glade 2 file either. I am confused.&lt;br&gt;
&lt;br&gt;I guess 4034 is just an error code (apart from the segfault).&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------------------------------&lt;br&gt;GladeUI-Message: No displayable values for property GtkScaleButton::size&lt;br&gt;
GladeUI-Message: No displayable values for property GtkImage::icon-size&lt;br&gt;&lt;br&gt;(glade-3:4034): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-sizegroup&amp;#39; was found for object class &amp;#39;GtkSizeGroup&amp;#39;.&lt;br&gt;&lt;br&gt;(glade-3:4034): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-accelgroup&amp;#39; was found for object class &amp;#39;GtkAccelGroup&amp;#39;.&lt;br&gt;
&lt;br&gt;(glade-3:4034): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-adjustment&amp;#39; was found for object class &amp;#39;GtkAdjustment&amp;#39;.&lt;br&gt;&lt;br&gt;(glade-3:4034): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-uimanager&amp;#39; was found for object class &amp;#39;GtkUIManager&amp;#39;.&lt;br&gt;
&lt;br&gt;(glade-3:4034): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-treemodelfilter&amp;#39; was found for object class &amp;#39;GtkTreeModelFilter&amp;#39;.&lt;br&gt;&lt;br&gt;(glade-3:4034): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-treemodelsort&amp;#39; was found for object class &amp;#39;GtkTreeModelSort&amp;#39;.&lt;br&gt;
&lt;br&gt;(glade-3:4034): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-treeselection&amp;#39; was found for object class &amp;#39;GtkTreeSelection&amp;#39;.&lt;br&gt;&lt;br&gt;(glade-3:4034): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-statusicon&amp;#39; was found for object class &amp;#39;GtkStatusIcon&amp;#39;.&lt;br&gt;
&lt;br&gt;(glade-3:4034): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-textbuffer&amp;#39; was found for object class &amp;#39;GtkTextBuffer&amp;#39;.&lt;br&gt;&lt;br&gt;(glade-3:4034): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-texttag&amp;#39; was found for object class &amp;#39;GtkTextTag&amp;#39;.&lt;br&gt;
GladeUI-Message: No displayable values for property GtkTextTag::direction&lt;br&gt;&lt;br&gt;(glade-3:4034): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-texttagtable&amp;#39; was found for object class &amp;#39;GtkTextTagTable&amp;#39;.&lt;br&gt;
&lt;br&gt;(glade-3:4034): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-filefilter&amp;#39; was found for object class &amp;#39;GtkFileFilter&amp;#39;.&lt;br&gt;GladeUI-Message: 1 missing displayable value for GnomeDateEdit::dateedit-flags&lt;br&gt;
GladeUI-Message: No displayable values for property GnomeIconList::selection-mode&lt;br&gt;Segmentation fault&lt;br&gt;
-------------------------------------------------------------------------------------------------&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

To fix the horizontalness, I&amp;#39;m not sure if someone attached a script&lt;br&gt;
to the bug that does that (since your file is considerably large and&lt;br&gt;
a PITA to fix by hand), fixing it by hand means fixing the orientation&lt;br&gt;
property of each vbox/vpaned etc in the project.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Yeah, maybe a script is needed, but since I don&amp;#39;t really understand what&lt;br&gt;the replacements should be I am also not sure about how to write such&lt;br&gt;
script.&lt;br&gt; &lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
I got a bunch of errors from CList, seems support for CList somehow&lt;br&gt;
got broken in Glade, however your file still seems to load and save ok,&lt;br&gt;
Im not sure whats going on with your CList children (ofcourse you will&lt;br&gt;
have to drop deprecated GtkCList anyway to move on to GtkBuilder).&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;So what do I use in place of GtkCList or CList?&lt;br&gt; &lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

&lt;br&gt;
In terms of litterature I think there is not much, its better for you to&lt;br&gt;
stick with some tutorials, reference manuals, the source and irc I&lt;br&gt;
would think.&lt;br&gt;
&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Thank, I will have a look at these as well, but what other modifications&lt;br&gt;did you make to the glade file to get it to work?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;br&gt;Saku Masukita&lt;/div&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Glade-devel maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26501162&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---Dev-f1324.html&quot; embed=&quot;fixTarget[1324]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/please-help%3A-bug%3A-glade2-file-conversion-to-glade3-failed-tp26467085p26501162.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26499228</id>
	<title>Re: please help: bug: glade2 file conversion to glade3 failed</title>
	<published>2009-11-24T08:39:43Z</published>
	<updated>2009-11-24T08:39:43Z</updated>
	<author>
		<name>Tristan Van Berkom-2</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 2:06 PM, Saku Masukita
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499228&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sakumasukita@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Mon, Nov 23, 2009 at 4:41 PM, Tristan Van Berkom
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499228&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tristan.van.berkom@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Mon, Nov 23, 2009 at 2:29 PM, Saku Masukita
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499228&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sakumasukita@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Well, apparently the script comes from a package
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; called libglade2-dev as the following output shows:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; $ dpkg-query -S /usr/bin/libglade-convert
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; libglade2-dev: /usr/bin/libglade-convert
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thats an old conversion script to convert files from
&lt;br&gt;&amp;gt;&amp;gt; Glade 1 format to a format readable by libglade.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; By now libglade is  deprecated and people are migrating
&lt;br&gt;&amp;gt;&amp;gt; to GtkBuilder (which essentially does what libglade did,
&lt;br&gt;&amp;gt;&amp;gt; except has some advantages such as doing it natively
&lt;br&gt;&amp;gt;&amp;gt; from the GTK+ widget code).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; OK so that might as well mean that I can uninstall libglade
&lt;br&gt;&amp;gt; completely from my Ubuntu 9.04 Linux system.
&lt;/div&gt;&lt;br&gt;Not exactly, it means that eventually this can be the case
&lt;br&gt;and it will be phased out, but surely there is plenty of code
&lt;br&gt;still using libglade on your system.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; You dont need a conversion tool to load a file created
&lt;br&gt;&amp;gt;&amp;gt; with Glade 2, in Glade 3 - just open the file in Glade 3.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; You will encounter a bug where everything seems horizontally
&lt;br&gt;&amp;gt;&amp;gt; oriented (because the file was created with Glade 2 in an
&lt;br&gt;&amp;gt;&amp;gt; old version, it wont output the orientation property needed
&lt;br&gt;&amp;gt;&amp;gt; to tell VBoxes that they need to be vertical, sorry about that).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Too bad this could not have been fixed in the code.
&lt;br&gt;&amp;gt;  What are the reasons for it not working out of the box?
&lt;br&gt;&amp;gt; Are there some widget property incompatibilities?
&lt;/div&gt;&lt;br&gt;Yes the full description is here:
&lt;br&gt;&amp;nbsp; &amp;nbsp;&lt;a href=&quot;https://bugzilla.gnome.org/show_bug.cgi?id=587256&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://bugzilla.gnome.org/show_bug.cgi?id=587256&lt;/a&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; libgnomeui is an old library that does lots of gnome specific
&lt;br&gt;&amp;gt;&amp;gt; stuff, it pulls in lots of dependencies you dont want to build
&lt;br&gt;&amp;gt;&amp;gt; nowadays and most of the widgets if not all, have equal
&lt;br&gt;&amp;gt;&amp;gt; coverage in GTK+ by now (i.e. its another old and deprecated
&lt;br&gt;&amp;gt;&amp;gt; widget library).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; OK so it looks like I will be uninstalling libgnomeui as well.
&lt;br&gt;&amp;gt; I never liked the idea of gnome-specific widgets which cannot
&lt;br&gt;&amp;gt; then be ported to other platforms anyway.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; You can at least start by loading the file in Glade, fixing
&lt;br&gt;&amp;gt;&amp;gt; the orientation property where you need to (search vbox
&lt;br&gt;&amp;gt;&amp;gt; in the search entry should help), then convert it to GtkBuilder
&lt;br&gt;&amp;gt;&amp;gt; (use the project preferences dialog) and see what deprecated
&lt;br&gt;&amp;gt;&amp;gt; widgets dissapear in the conversion - should give you an idea
&lt;br&gt;&amp;gt;&amp;gt; of what widget types you need to replace to move on to GtkBuilder.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Looks like I am going to have to learn how to use GtkBuilder
&lt;br&gt;&amp;gt; to port my C code which worked with glade 2 code to C code
&lt;br&gt;&amp;gt; that works with glade 3.
&lt;/div&gt;&lt;br&gt;Yes, generally that just means replacing calls to glade_xml_new()
&lt;br&gt;with gtk_builder_add_from_file(), and then glade_xml_get_widget()
&lt;br&gt;with gtk_builder_get_object() (i.e. the api is very small).
&lt;br&gt;&lt;br&gt;The bulk of your work to use GtkBuilder would be to get rid
&lt;br&gt;of the gnome widgets essentially, which is something you
&lt;br&gt;would want to do anyway for new code.
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Obviously something needs to be done for me to be able to open the
&lt;br&gt;&amp;gt; file with glade-3, but I am not sure exactly what. Any ideas?
&lt;br&gt;&lt;br&gt;The warnings are normal (as we actually need people to contribute
&lt;br&gt;artwork for those missing icons), the segfault I cant tell by looking into
&lt;br&gt;your file, but I was able to do something with it.
&lt;br&gt;&lt;br&gt;After looking at the segfault (which I didnt reproduce because I didnt
&lt;br&gt;build the gnome catalog here...) I found that you do not use any gnome
&lt;br&gt;widgets (good first of all for you), only gnome stock icons.
&lt;br&gt;&lt;br&gt;So, after removing the &amp;lt;requires/&amp;gt; line from your Glade file I loaded
&lt;br&gt;up with no segfault, but horizontally.
&lt;br&gt;&lt;br&gt;To fix the horizontalness, I'm not sure if someone attached a script
&lt;br&gt;to the bug that does that (since your file is considerably large and
&lt;br&gt;a PITA to fix by hand), fixing it by hand means fixing the orientation
&lt;br&gt;property of each vbox/vpaned etc in the project.
&lt;br&gt;&lt;br&gt;I got a bunch of errors from CList, seems support for CList somehow
&lt;br&gt;got broken in Glade, however your file still seems to load and save ok,
&lt;br&gt;Im not sure whats going on with your CList children (ofcourse you will
&lt;br&gt;have to drop deprecated GtkCList anyway to move on to GtkBuilder).
&lt;br&gt;&lt;br&gt;In terms of litterature I think there is not much, its better for you to
&lt;br&gt;stick with some tutorials, reference manuals, the source and irc I
&lt;br&gt;would think.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-Tristan
&lt;br&gt;_______________________________________________
&lt;br&gt;Glade-devel maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26499228&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---Dev-f1324.html&quot; embed=&quot;fixTarget[1324]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/please-help%3A-bug%3A-glade2-file-conversion-to-glade3-failed-tp26467085p26499228.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26498674</id>
	<title>Re: please help: bug: glade2 file conversion to glade3 failed</title>
	<published>2009-11-24T08:06:37Z</published>
	<updated>2009-11-24T08:06:37Z</updated>
	<author>
		<name>Saku Masukita</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;
&lt;div class=&quot;gmail_quote&quot;&gt;On Mon, Nov 23, 2009 at 4:41 PM, Tristan Van Berkom &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26498674&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tristan.van.berkom@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;
&lt;div&gt;On Mon, Nov 23, 2009 at 2:29 PM, Saku Masukita&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26498674&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sakumasukita@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; Well, apparently the script comes from a package&lt;br&gt;

&amp;gt; called libglade2-dev as the following output shows:&lt;br&gt;&amp;gt;&lt;br&gt;&amp;gt; $ dpkg-query -S /usr/bin/libglade-convert&lt;br&gt;&amp;gt; libglade2-dev: /usr/bin/libglade-convert&lt;br&gt;&amp;gt;&lt;br&gt;&lt;br&gt;&lt;/div&gt;Thats an old conversion script to convert files from&lt;br&gt;

Glade 1 format to a format readable by libglade. &lt;br&gt;&lt;/blockquote&gt;&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;&lt;br&gt;By now libglade is  deprecated and people are migrating&lt;br&gt;
to GtkBuilder (which essentially does what libglade did,&lt;br&gt;except has some advantages such as doing it natively&lt;br&gt;
from the GTK+ widget code).&lt;br&gt;&lt;/blockquote&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;OK so that might as well mean that I can uninstall libglade&lt;/div&gt;
&lt;div&gt;completely from my Ubuntu 9.04 Linux system.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;You dont need a conversion tool to load a file created&lt;br&gt;with Glade 2, in Glade 3 - just open the file in Glade 3.&lt;br&gt;

&lt;br&gt;You will encounter a bug where everything seems horizontally&lt;br&gt;oriented (because the file was created with Glade 2 in an&lt;br&gt;old version, it wont output the orientation property needed&lt;br&gt;to tell VBoxes that they need to be vertical, sorry about that).&lt;br&gt;

&lt;/blockquote&gt;
&lt;div&gt;&lt;br&gt;Too bad this could not have been fixed in the code.&lt;/div&gt;

&lt;div&gt; What are the reasons for it not working out of the box?&lt;/div&gt;
&lt;div&gt;Are there some widget property incompatibilities?&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;libgnomeui is an old library that does lots of gnome specific&lt;br&gt;stuff, it pulls in lots of dependencies you dont want to build&lt;br&gt;

nowadays and most of the widgets if not all, have equal&lt;br&gt;coverage in GTK+ by now (i.e. its another old and deprecated&lt;br&gt;widget library).&lt;br&gt;&lt;/blockquote&gt;
&lt;div&gt; &lt;br&gt;OK so it looks like I will be uninstalling libgnomeui as well.&lt;br&gt;I never liked the idea of gnome-specific widgets which cannot&lt;br&gt;then be ported to other platforms anyway.&lt;br&gt;&lt;br&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;&quot; class=&quot;gmail_quote&quot;&gt;You can at least start by loading the file in Glade, fixing&lt;br&gt;the orientation property where you need to (search vbox&lt;br&gt;

in the search entry should help), then convert it to GtkBuilder&lt;br&gt;(use the project preferences dialog) and see what deprecated&lt;br&gt;widgets dissapear in the conversion - should give you an idea&lt;br&gt;of what widget types you need to replace to move on to GtkBuilder.&lt;br&gt;

&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Looks like I am going to have to learn how to use GtkBuilder&lt;br&gt;to port my C code which worked with glade 2 code to C code&lt;br&gt;that works with glade 3.&lt;br&gt;&lt;br&gt;Well, when I try to open the file &lt;a href=&quot;http://whm.sf.net/foo.glade&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://whm.sf.net/foo.glade&lt;/a&gt;&lt;br&gt;
with glade-2 I am successful but with glade-3 I get a&lt;br&gt;segmentation fault:&lt;br&gt;&lt;br&gt;GladeUI-Message: No displayable values for property GtkScaleButton::size&lt;br&gt;GladeUI-Message: No displayable values for property GtkImage::icon-size&lt;br&gt;
&lt;br&gt;(glade-3:4487): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-sizegroup&amp;#39; was found for object class &amp;#39;GtkSizeGroup&amp;#39;.&lt;br&gt;&lt;br&gt;(glade-3:4487): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-accelgroup&amp;#39; was found for object class &amp;#39;GtkAccelGroup&amp;#39;.&lt;br&gt;
&lt;br&gt;(glade-3:4487): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-adjustment&amp;#39; was found for object class &amp;#39;GtkAdjustment&amp;#39;.&lt;br&gt;&lt;br&gt;(glade-3:4487): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-uimanager&amp;#39; was found for object class &amp;#39;GtkUIManager&amp;#39;.&lt;br&gt;
&lt;br&gt;(glade-3:4487): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-treemodelfilter&amp;#39; was found for object class &amp;#39;GtkTreeModelFilter&amp;#39;.&lt;br&gt;&lt;br&gt;(glade-3:4487): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-treemodelsort&amp;#39; was found for object class &amp;#39;GtkTreeModelSort&amp;#39;.&lt;br&gt;
&lt;br&gt;(glade-3:4487): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-treeselection&amp;#39; was found for object class &amp;#39;GtkTreeSelection&amp;#39;.&lt;br&gt;&lt;br&gt;(glade-3:4487): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-statusicon&amp;#39; was found for object class &amp;#39;GtkStatusIcon&amp;#39;.&lt;br&gt;
&lt;br&gt;(glade-3:4487): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-textbuffer&amp;#39; was found for object class &amp;#39;GtkTextBuffer&amp;#39;.&lt;br&gt;&lt;br&gt;(glade-3:4487): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-texttag&amp;#39; was found for object class &amp;#39;GtkTextTag&amp;#39;.&lt;br&gt;
GladeUI-Message: No displayable values for property GtkTextTag::direction&lt;br&gt;&lt;br&gt;(glade-3:4487): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-texttagtable&amp;#39; was found for object class &amp;#39;GtkTextTagTable&amp;#39;.&lt;br&gt;
&lt;br&gt;(glade-3:4487): GladeUI-WARNING **: No icon named &amp;#39;widget-gtk-filefilter&amp;#39; was found for object class &amp;#39;GtkFileFilter&amp;#39;.&lt;br&gt;GladeUI-Message: 1 missing displayable value for GnomeDateEdit::dateedit-flags&lt;br&gt;
GladeUI-Message: No displayable values for property GnomeIconList::selection-mode&lt;br&gt;Segmentation fault&lt;br&gt;&lt;br&gt;Obviously something needs to be done for me to be able to open the&lt;br&gt;file with glade-3, but I am not sure exactly what. Any ideas?&lt;br&gt;
&lt;br&gt;----------------------------------------------------------------------------------------------------&lt;br&gt;APART FROM THIS...&lt;br&gt;&lt;br&gt;By the way, is the book &amp;quot;The Official Gnome 2 Developer&amp;#39;s Guide&amp;quot;&lt;br&gt;as in the links appearing below now an outdated book?&lt;br&gt;
&lt;br&gt;&lt;a href=&quot;http://www.amazon.com/gp/search?index=books&amp;amp;linkCode=qs&amp;amp;keywords=1593270305&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.amazon.com/gp/search?index=books&amp;amp;linkCode=qs&amp;amp;keywords=1593270305&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://developer.novell.com/wiki/index.php/The_Official_Gnome_2_Developer%27s_Guide&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://developer.novell.com/wiki/index.php/The_Official_Gnome_2_Developer%27s_Guide&lt;/a&gt;&lt;br&gt;
&lt;br&gt;Is there better more up-to-date books on Gtk/Glib/Glade deve lopment&lt;br&gt;which are more relevant nowadays (given that as you mentioned the&lt;br&gt;development libraries are now more gnome-independent?)&lt;br&gt;&lt;br&gt;Looks like nowadays the reference books on this subject are:&lt;br&gt;
&lt;br&gt;- Foundations of GTK+ Development (Expert&amp;#39;s Voice in Open Source) (Paperback)&lt;br&gt;  by Andrew Krause&lt;br&gt;&lt;br&gt;and&lt;br&gt;&lt;br&gt;-  Gtk+ Programming in C (Paperback)&lt;br&gt;  by Syd Logan&lt;br&gt;&lt;br&gt;but I am not sure about whether any of these cover GtkBuilder and glade.&lt;br&gt;
&lt;br&gt;Any suggestions or recommendations on selecting a proper place&lt;br&gt;to work with are very welcome (I have used Gtk and Glib in the past&lt;br&gt;but now I am somewhat rusty on it and need something to go by in&lt;br&gt;order to upgrade properly),&lt;br&gt;
&lt;br&gt;Thank you for your help and feedback,&lt;br&gt;&lt;br&gt;Saku Masukita&lt;br&gt; &lt;br&gt;&lt;/div&gt;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Glade-devel maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26498674&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---Dev-f1324.html&quot; embed=&quot;fixTarget[1324]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/please-help%3A-bug%3A-glade2-file-conversion-to-glade3-failed-tp26467085p26498674.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26481626</id>
	<title>Re: please help: bug: glade2 file conversion to glade3 failed</title>
	<published>2009-11-23T08:41:07Z</published>
	<updated>2009-11-23T08:41:07Z</updated>
	<author>
		<name>Tristan Van Berkom-2</name>
	</author>
	<content type="html">On Mon, Nov 23, 2009 at 2:29 PM, Saku Masukita
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26481626&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sakumasukita@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Sun, Nov 22, 2009 at 5:11 PM, Tristan Van Berkom
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26481626&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tristan.van.berkom@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hello.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Glade does not come with any conversion script.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Well, apparently the script comes from a package
&lt;br&gt;&amp;gt; called libglade2-dev as the following output shows:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ dpkg-query -S /usr/bin/libglade-convert
&lt;br&gt;&amp;gt; libglade2-dev: /usr/bin/libglade-convert
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Thats an old conversion script to convert files from
&lt;br&gt;Glade 1 format to a format readable by libglade.
&lt;br&gt;&lt;br&gt;By now libglade is &amp;nbsp;deprecated and people are migrating
&lt;br&gt;to GtkBuilder (which essentially does what libglade did,
&lt;br&gt;except has some advantages such as doing it natively
&lt;br&gt;from the GTK+ widget code).
&lt;br&gt;&lt;br&gt;You dont need a conversion tool to load a file created
&lt;br&gt;with Glade 2, in Glade 3 - just open the file in Glade 3.
&lt;br&gt;&lt;br&gt;You will encounter a bug where everything seems horizontally
&lt;br&gt;oriented (because the file was created with Glade 2 in an
&lt;br&gt;old version, it wont output the orientation property needed
&lt;br&gt;to tell VBoxes that they need to be vertical, sorry about that).
&lt;br&gt;&lt;br&gt;libgnomeui is an old library that does lots of gnome specific
&lt;br&gt;stuff, it pulls in lots of dependencies you dont want to build
&lt;br&gt;nowadays and most of the widgets if not all, have equal
&lt;br&gt;coverage in GTK+ by now (i.e. its another old and deprecated
&lt;br&gt;widget library).
&lt;br&gt;&lt;br&gt;You can at least start by loading the file in Glade, fixing
&lt;br&gt;the orientation property where you need to (search vbox
&lt;br&gt;in the search entry should help), then convert it to GtkBuilder
&lt;br&gt;(use the project preferences dialog) and see what deprecated
&lt;br&gt;widgets dissapear in the conversion - should give you an idea
&lt;br&gt;of what widget types you need to replace to move on to GtkBuilder.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-Tristan
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The list of files which are part of this ubuntu package
&lt;br&gt;&amp;gt; are the following which seem to include version 2 of
&lt;br&gt;&amp;gt; a static library called libglade which I presume is
&lt;br&gt;&amp;gt; used to create executable files which parse a
&lt;br&gt;&amp;gt; glade XML file when run. The list is reported
&lt;br&gt;&amp;gt; below:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ dpkg-query -L libglade2-dev
&lt;br&gt;&amp;gt; /.
&lt;br&gt;&amp;gt; /usr
&lt;br&gt;&amp;gt; /usr/share
&lt;br&gt;&amp;gt; /usr/share/doc
&lt;br&gt;&amp;gt; /usr/share/doc/libglade2-dev
&lt;br&gt;&amp;gt; /usr/share/doc/libglade2-dev/copyright
&lt;br&gt;&amp;gt; /usr/share/doc/libglade2-dev/examples
&lt;br&gt;&amp;gt; /usr/share/doc/libglade2-dev/examples/bonobo.glade
&lt;br&gt;&amp;gt; /usr/share/doc/libglade2-dev/examples/simple.glade.gz
&lt;br&gt;&amp;gt; /usr/share/doc/libglade2-dev/examples/first.glade
&lt;br&gt;&amp;gt; /usr/share/doc/libglade2-dev/examples/example.glade.gz
&lt;br&gt;&amp;gt; /usr/share/doc-base
&lt;br&gt;&amp;gt; /usr/share/doc-base/libglade2-dev
&lt;br&gt;&amp;gt; /usr/share/man
&lt;br&gt;&amp;gt; /usr/share/man/man1
&lt;br&gt;&amp;gt; /usr/share/man/man1/libglade-convert.1.gz
&lt;br&gt;&amp;gt; /usr/share/gtk-doc
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/GladeXML.html
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/home.png
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/index.html
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/index.sgml
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/left.png
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/libglade-Libglade-Build.html
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/libglade-Libglade-Initialisation.html
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/libglade-Libglade-SAX-Parser.html
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/libglade-dtd-exceptions.html
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/libglade-dtd.html
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/libglade-embedding.html
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/libglade-extending.html
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/libglade-i18n.html
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/libglade-lib.html
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/libglade-modules.html
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/libglade-notes.html
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/libglade.devhelp
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/libglade.devhelp2
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/right.png
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/style.css
&lt;br&gt;&amp;gt; /usr/share/gtk-doc/html/libglade/up.png
&lt;br&gt;&amp;gt; /usr/include
&lt;br&gt;&amp;gt; /usr/include/libglade-2.0
&lt;br&gt;&amp;gt; /usr/include/libglade-2.0/glade
&lt;br&gt;&amp;gt; /usr/include/libglade-2.0/glade/glade.h
&lt;br&gt;&amp;gt; /usr/include/libglade-2.0/glade/glade-init.h
&lt;br&gt;&amp;gt; /usr/include/libglade-2.0/glade/glade-xml.h
&lt;br&gt;&amp;gt; /usr/include/libglade-2.0/glade/glade-build.h
&lt;br&gt;&amp;gt; /usr/include/libglade-2.0/glade/glade-parser.h
&lt;br&gt;&amp;gt; /usr/lib
&lt;br&gt;&amp;gt; /usr/lib/libglade-2.0.a
&lt;br&gt;&amp;gt; /usr/lib/libglade-2.0.la
&lt;br&gt;&amp;gt; /usr/lib/pkgconfig
&lt;br&gt;&amp;gt; /usr/lib/pkgconfig/libglade-2.0.pc
&lt;br&gt;&amp;gt; /usr/bin
&lt;br&gt;&amp;gt; /usr/bin/libglade-convert
&lt;br&gt;&amp;gt; /usr/share/doc/libglade2-dev/README
&lt;br&gt;&amp;gt; /usr/share/doc/libglade2-dev/AUTHORS
&lt;br&gt;&amp;gt; /usr/share/doc/libglade2-dev/NEWS.gz
&lt;br&gt;&amp;gt; /usr/share/doc/libglade2-dev/changelog.Debian.gz
&lt;br&gt;&amp;gt; /usr/lib/libglade-2.0.so
&lt;br&gt;&amp;gt; $
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However when I look at the list of installed packages
&lt;br&gt;&amp;gt; related to glade I get the all of the following:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; BEGIN OUTPUT +++++++++++++++++++++++++++++
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ dpkg-query -l '*glade*'
&lt;br&gt;&amp;gt; Desired=Unknown/Install/Remove/Purge/Hold
&lt;br&gt;&amp;gt; |
&lt;br&gt;&amp;gt; Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
&lt;br&gt;&amp;gt; |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
&lt;br&gt;&amp;gt; uppercase=bad)
&lt;br&gt;&amp;gt; ||/ Name
&lt;br&gt;&amp;gt; Version                                  Description
&lt;br&gt;&amp;gt; +++-========================================-========================================-================================================================================================
&lt;br&gt;&amp;gt; un  glade
&lt;br&gt;&amp;gt; &amp;lt;none&amp;gt;                                   (no description available)
&lt;br&gt;&amp;gt; ii  glade-3
&lt;br&gt;&amp;gt; 3.6.3-0ubuntu1                           GTK+ 2 User Interface Builder
&lt;br&gt;&amp;gt; un  glade-gnome
&lt;br&gt;&amp;gt; &amp;lt;none&amp;gt;                                   (no description available)
&lt;br&gt;&amp;gt; un  glade-gnome-3
&lt;br&gt;&amp;gt; &amp;lt;none&amp;gt;                                   (no description available)
&lt;br&gt;&amp;gt; ii  libglade2-0
&lt;br&gt;&amp;gt; 1:2.6.4-1                                library to load .glade files at
&lt;br&gt;&amp;gt; runtime
&lt;br&gt;&amp;gt; ii  libglade2-dev
&lt;br&gt;&amp;gt; 1:2.6.4-1                                development files for libglade
&lt;br&gt;&amp;gt; ii  libglade2.0-cil
&lt;br&gt;&amp;gt; 2.12.8-2                                 CLI binding for the Glade libraries
&lt;br&gt;&amp;gt; 2.6
&lt;br&gt;&amp;gt; un  libgladeui-1-1
&lt;br&gt;&amp;gt; &amp;lt;none&amp;gt;                                   (no description available)
&lt;br&gt;&amp;gt; un  libgladeui-1-2
&lt;br&gt;&amp;gt; &amp;lt;none&amp;gt;                                   (no description available)
&lt;br&gt;&amp;gt; un  libgladeui-1-3
&lt;br&gt;&amp;gt; &amp;lt;none&amp;gt;                                   (no description available)
&lt;br&gt;&amp;gt; un  libgladeui-1-4
&lt;br&gt;&amp;gt; &amp;lt;none&amp;gt;                                   (no description available)
&lt;br&gt;&amp;gt; un  libgladeui-1-5
&lt;br&gt;&amp;gt; &amp;lt;none&amp;gt;                                   (no description available)
&lt;br&gt;&amp;gt; un  libgladeui-1-7
&lt;br&gt;&amp;gt; &amp;lt;none&amp;gt;                                   (no description available)
&lt;br&gt;&amp;gt; un  libgladeui-1-8
&lt;br&gt;&amp;gt; &amp;lt;none&amp;gt;                                   (no description available)
&lt;br&gt;&amp;gt; ii  libgladeui-1-9
&lt;br&gt;&amp;gt; 3.6.3-0ubuntu1                           GTK+ User Interface Build core
&lt;br&gt;&amp;gt; library
&lt;br&gt;&amp;gt; un  python-glade
&lt;br&gt;&amp;gt; &amp;lt;none&amp;gt;                                   (no description available)
&lt;br&gt;&amp;gt; ii  python-glade2
&lt;br&gt;&amp;gt; 2.14.1-1ubuntu1                          GTK+ bindings: Glade support
&lt;br&gt;&amp;gt; un  python2.3-glade2
&lt;br&gt;&amp;gt; &amp;lt;none&amp;gt;                                   (no description available)
&lt;br&gt;&amp;gt; un  python2.4-glade2
&lt;br&gt;&amp;gt; &amp;lt;none&amp;gt;                                   (no description available)
&lt;br&gt;&amp;gt; un  python2.5-glade2
&lt;br&gt;&amp;gt; &amp;lt;none&amp;gt;                                   (no description available)
&lt;br&gt;&amp;gt; un  python2.6-glade2
&lt;br&gt;&amp;gt; &amp;lt;none&amp;gt;                                   (no description available)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; END OUTPUT +++++++++++++++++++++++++++++
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am puzzled with the fact that on the download site there are only
&lt;br&gt;&amp;gt; these two directories which seem pertinent to modern glade /
&lt;br&gt;&amp;gt; libglade development but there is no libgladeui package. So
&lt;br&gt;&amp;gt; I do not understand what the difference is between libglade
&lt;br&gt;&amp;gt; and libgladeui. What is libgladeui?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://ftp.gnome.org/pub/GNOME/sources/glade3/3.6/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ftp.gnome.org/pub/GNOME/sources/glade3/3.6/&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Just make sure you have the gnome plugin for Glade installed
&lt;br&gt;&amp;gt;&amp;gt; on your system and then try to load the file directly in Glade.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Well, as far as I remember I do not remember using any
&lt;br&gt;&amp;gt; gnome-specific widgets which are not part of GTK inside
&lt;br&gt;&amp;gt; my glade 2 XML file but I am going to try your suggestion
&lt;br&gt;&amp;gt; just in case...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ sudo apt-get install glade-gnome
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; No luck with this, as after such apt-get installation I still
&lt;br&gt;&amp;gt; get the same error messages when trying to use
&lt;br&gt;&amp;gt; libglade-convert to convert my glade 2 XML file
&lt;br&gt;&amp;gt; to a glade 3 XML file.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So let us try and install glade-gnome-2 instead...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ sudo apt-get install glade-gnome-2
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; And let us also try and install glade-gnome-3 ...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ sudo apt-get install glade-gnome-3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Well, even after these installs I still get the
&lt;br&gt;&amp;gt; same error message when I try to convert
&lt;br&gt;&amp;gt; my glade 2 XML file to a glade 3 XML file,
&lt;br&gt;&amp;gt; exactly the same as reported originally.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Traceback (most recent call last):
&lt;br&gt;&amp;gt;   File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1212, in &amp;lt;module&amp;gt;
&lt;br&gt;&amp;gt;     main()
&lt;br&gt;&amp;gt;   File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1209, in main
&lt;br&gt;&amp;gt;     handle_file(args[0])
&lt;br&gt;&amp;gt;   File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1172, in handle_file
&lt;br&gt;&amp;gt;     check_widget(widgetdef, requireslist)
&lt;br&gt;&amp;gt;   File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1148, in check_widget
&lt;br&gt;&amp;gt;     elif widget['class'][:5] == 'Gnome' and 'gnome' not in requirelist:
&lt;br&gt;&amp;gt; TypeError: 'NoneType' object is unsubscriptable
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; From there, you will probably want to use GtkBuilder, for
&lt;br&gt;&amp;gt;&amp;gt; that you will first have to figure out how to eliminate the
&lt;br&gt;&amp;gt;&amp;gt; deprecated libgnomeui widgets from your project, then
&lt;br&gt;&amp;gt;&amp;gt; convert the project format in the preferences.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What exactly is libgnomeui? I am stuck and I am not sure
&lt;br&gt;&amp;gt; about how to proceed with the XML glade 2 file conversion
&lt;br&gt;&amp;gt; to glade 3 XML.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you for your help
&lt;br&gt;&amp;gt; with the conversion,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Saku
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt;&amp;gt;        -Tristan
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Sun, Nov 22, 2009 at 2:53 PM, Saku Masukita
&lt;br&gt;&amp;gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26481626&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sakumasukita@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I am running ubuntu 9.04 and wanted to use glade
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; so I ran the following command at a shell prompt:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; $ sudo apt-get install glade-3
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I have an old glade2 file from November of 2004
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; and would like to convert it to the glade3 file format
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; but for whatever reason the python conversion tool
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; which comes with glade3 is failing to work.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; $ libglade-convert foo.glade
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Traceback (most recent call last):
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;   File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1212, in &amp;lt;module&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;     main()
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;   File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1209, in main
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;     handle_file(args[0])
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;   File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1172, in handle_file
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;     check_widget(widgetdef, requireslist)
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;   File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1148, in check_widget
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;     elif widget['class'][:5] == 'Gnome' and 'gnome' not in requirelist:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; TypeError: 'NoneType' object is unsubscriptable
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I am not sure what is causing this.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; The glade 2 file which is causing these errors can be found at:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://whm.sourceforge.net/foo.glade&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://whm.sourceforge.net/foo.glade&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Thank you for your help,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Hopefully libglade-converter can be fixed to address this problem,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Saku Masukita
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; _______________________________________________
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Glade-devel maillist  -  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26481626&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-devel&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Glade-devel maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26481626&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---Dev-f1324.html&quot; embed=&quot;fixTarget[1324]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/please-help%3A-bug%3A-glade2-file-conversion-to-glade3-failed-tp26467085p26481626.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26481389</id>
	<title>Re: please help: bug: glade2 file conversion to glade3 failed</title>
	<published>2009-11-23T08:29:39Z</published>
	<updated>2009-11-23T08:29:39Z</updated>
	<author>
		<name>Saku Masukita</name>
	</author>
	<content type="html">&lt;br&gt;On Sun, Nov 22, 2009 at 5:11 PM, Tristan Van Berkom &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26481389&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tristan.van.berkom@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
Hello.&lt;br&gt;
&lt;br&gt;
Glade does not come with any conversion script.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;Well, apparently the script comes from a package&lt;br&gt;called libglade2-dev as the following output shows:&lt;br&gt;&lt;br&gt;$ dpkg-query -S /usr/bin/libglade-convert&lt;br&gt;
libglade2-dev: /usr/bin/libglade-convert&lt;br&gt;&lt;br&gt;The list of files which are part of this ubuntu package&lt;br&gt;are the following which seem to include version 2 of&lt;br&gt;a static library called libglade which I presume is&lt;br&gt;used to create executable files which parse a&lt;br&gt;
glade XML file when run. The list is reported&lt;br&gt;below:&lt;br&gt;&lt;br&gt;$ dpkg-query -L libglade2-dev&lt;br&gt;/.&lt;br&gt;/usr&lt;br&gt;/usr/share&lt;br&gt;/usr/share/doc&lt;br&gt;/usr/share/doc/libglade2-dev&lt;br&gt;/usr/share/doc/libglade2-dev/copyright&lt;br&gt;/usr/share/doc/libglade2-dev/examples&lt;br&gt;
/usr/share/doc/libglade2-dev/examples/bonobo.glade&lt;br&gt;/usr/share/doc/libglade2-dev/examples/simple.glade.gz&lt;br&gt;/usr/share/doc/libglade2-dev/examples/first.glade&lt;br&gt;/usr/share/doc/libglade2-dev/examples/example.glade.gz&lt;br&gt;
/usr/share/doc-base&lt;br&gt;/usr/share/doc-base/libglade2-dev&lt;br&gt;/usr/share/man&lt;br&gt;/usr/share/man/man1&lt;br&gt;/usr/share/man/man1/libglade-convert.1.gz&lt;br&gt;/usr/share/gtk-doc&lt;br&gt;/usr/share/gtk-doc/html&lt;br&gt;/usr/share/gtk-doc/html/libglade&lt;br&gt;
/usr/share/gtk-doc/html/libglade/GladeXML.html&lt;br&gt;/usr/share/gtk-doc/html/libglade/home.png&lt;br&gt;/usr/share/gtk-doc/html/libglade/index.html&lt;br&gt;/usr/share/gtk-doc/html/libglade/index.sgml&lt;br&gt;/usr/share/gtk-doc/html/libglade/left.png&lt;br&gt;
/usr/share/gtk-doc/html/libglade/libglade-Libglade-Build.html&lt;br&gt;/usr/share/gtk-doc/html/libglade/libglade-Libglade-Initialisation.html&lt;br&gt;/usr/share/gtk-doc/html/libglade/libglade-Libglade-SAX-Parser.html&lt;br&gt;/usr/share/gtk-doc/html/libglade/libglade-dtd-exceptions.html&lt;br&gt;
/usr/share/gtk-doc/html/libglade/libglade-dtd.html&lt;br&gt;/usr/share/gtk-doc/html/libglade/libglade-embedding.html&lt;br&gt;/usr/share/gtk-doc/html/libglade/libglade-extending.html&lt;br&gt;/usr/share/gtk-doc/html/libglade/libglade-i18n.html&lt;br&gt;
/usr/share/gtk-doc/html/libglade/libglade-lib.html&lt;br&gt;/usr/share/gtk-doc/html/libglade/libglade-modules.html&lt;br&gt;/usr/share/gtk-doc/html/libglade/libglade-notes.html&lt;br&gt;/usr/share/gtk-doc/html/libglade/libglade.devhelp&lt;br&gt;
/usr/share/gtk-doc/html/libglade/libglade.devhelp2&lt;br&gt;/usr/share/gtk-doc/html/libglade/right.png&lt;br&gt;/usr/share/gtk-doc/html/libglade/style.css&lt;br&gt;/usr/share/gtk-doc/html/libglade/up.png&lt;br&gt;/usr/include&lt;br&gt;/usr/include/libglade-2.0&lt;br&gt;
/usr/include/libglade-2.0/glade&lt;br&gt;/usr/include/libglade-2.0/glade/glade.h&lt;br&gt;/usr/include/libglade-2.0/glade/glade-init.h&lt;br&gt;/usr/include/libglade-2.0/glade/glade-xml.h&lt;br&gt;/usr/include/libglade-2.0/glade/glade-build.h&lt;br&gt;
/usr/include/libglade-2.0/glade/glade-parser.h&lt;br&gt;/usr/lib&lt;br&gt;/usr/lib/libglade-2.0.a&lt;br&gt;/usr/lib/&lt;a href=&quot;http://libglade-2.0.la&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;libglade-2.0.la&lt;/a&gt;&lt;br&gt;/usr/lib/pkgconfig&lt;br&gt;/usr/lib/pkgconfig/libglade-2.0.pc&lt;br&gt;/usr/bin&lt;br&gt;
/usr/bin/libglade-convert&lt;br&gt;/usr/share/doc/libglade2-dev/README&lt;br&gt;/usr/share/doc/libglade2-dev/AUTHORS&lt;br&gt;/usr/share/doc/libglade2-dev/NEWS.gz&lt;br&gt;/usr/share/doc/libglade2-dev/changelog.Debian.gz&lt;br&gt;/usr/lib/&lt;a href=&quot;http://libglade-2.0.so&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;libglade-2.0.so&lt;/a&gt;&lt;br&gt;
$ &lt;br&gt;&lt;br&gt;However when I look at the list of installed packages&lt;br&gt;related to glade I get the all of the following:&lt;br&gt;&lt;br&gt;BEGIN OUTPUT +++++++++++++++++++++++++++++&lt;br&gt;&lt;br&gt;$ dpkg-query -l &amp;#39;*glade*&amp;#39;&lt;br&gt;Desired=Unknown/Install/Remove/Purge/Hold&lt;br&gt;
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend&lt;br&gt;|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)&lt;br&gt;||/ Name                                     Version                                  Description&lt;br&gt;
+++-========================================-========================================-================================================================================================&lt;br&gt;un  glade                                    &amp;lt;none&amp;gt;                                   (no description available)&lt;br&gt;
ii  glade-3                                  3.6.3-0ubuntu1                           GTK+ 2 User Interface Builder&lt;br&gt;un  glade-gnome                              &amp;lt;none&amp;gt;                                   (no description available)&lt;br&gt;
un  glade-gnome-3                            &amp;lt;none&amp;gt;                                   (no description available)&lt;br&gt;ii  libglade2-0                              1:2.6.4-1                                library to load .glade files at runtime&lt;br&gt;
ii  libglade2-dev                            1:2.6.4-1                                development files for libglade&lt;br&gt;ii  libglade2.0-cil                          2.12.8-2                                 CLI binding for the Glade libraries 2.6&lt;br&gt;
un  libgladeui-1-1                           &amp;lt;none&amp;gt;                                   (no description available)&lt;br&gt;un  libgladeui-1-2                           &amp;lt;none&amp;gt;                                   (no description available)&lt;br&gt;
un  libgladeui-1-3                           &amp;lt;none&amp;gt;                                   (no description available)&lt;br&gt;un  libgladeui-1-4                           &amp;lt;none&amp;gt;                                   (no description available)&lt;br&gt;
un  libgladeui-1-5                           &amp;lt;none&amp;gt;                                   (no description available)&lt;br&gt;un  libgladeui-1-7                           &amp;lt;none&amp;gt;                                   (no description available)&lt;br&gt;
un  libgladeui-1-8                           &amp;lt;none&amp;gt;                                   (no description available)&lt;br&gt;ii  libgladeui-1-9                           3.6.3-0ubuntu1                           GTK+ User Interface Build core library&lt;br&gt;
un  python-glade                             &amp;lt;none&amp;gt;                                   (no description available)&lt;br&gt;ii  python-glade2                            2.14.1-1ubuntu1                          GTK+ bindings: Glade support&lt;br&gt;
un  python2.3-glade2                         &amp;lt;none&amp;gt;                                   (no description available)&lt;br&gt;un  python2.4-glade2                         &amp;lt;none&amp;gt;                                   (no description available)&lt;br&gt;
un  python2.5-glade2                         &amp;lt;none&amp;gt;                                   (no description available)&lt;br&gt;un  python2.6-glade2                         &amp;lt;none&amp;gt;                                   (no description available)&lt;br&gt;
&lt;br&gt;END OUTPUT +++++++++++++++++++++++++++++&lt;br&gt;&lt;br&gt;I am puzzled with the fact that on the download site there are only&lt;br&gt;these two directories which seem pertinent to modern glade /&lt;br&gt;libglade development but there is no libgladeui package. So&lt;br&gt;
I do not understand what the difference is between libglade&lt;br&gt;and libgladeui. What is libgladeui?&lt;br&gt;&lt;br&gt;
&lt;a href=&quot;http://ftp.gnome.org/pub/GNOME/sources/glade3/3.6/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ftp.gnome.org/pub/GNOME/sources/glade3/3.6/&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/&lt;/a&gt;&lt;br&gt; &lt;br&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;

Just make sure you have the gnome plugin for Glade installed&lt;br&gt;
on your system and then try to load the file directly in Glade.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt; &lt;br&gt;Well, as far as I remember I do not remember using any&lt;br&gt;gnome-specific widgets which are not part of GTK inside&lt;br&gt;my glade 2 XML file but I am going to try your suggestion&lt;br&gt;
just in case...&lt;br&gt;&lt;br&gt;$ sudo apt-get install glade-gnome&lt;br&gt;&lt;br&gt;No luck with this, as after such apt-get installation I still&lt;br&gt;get the same error messages when trying to use&lt;br&gt;libglade-convert to convert my glade 2 XML file&lt;br&gt;
to a glade 3 XML file.&lt;br&gt;&lt;br&gt;So let us try and install glade-gnome-2 instead...&lt;br&gt;&lt;br&gt;$ sudo apt-get install glade-gnome-2&lt;br&gt;&lt;br&gt;And let us also try and install glade-gnome-3 ...&lt;br&gt;&lt;br&gt;$ sudo apt-get install glade-gnome-3&lt;br&gt;
&lt;br&gt;Well, even after these installs I still get the&lt;br&gt;same error message when I try to convert&lt;br&gt;my glade 2 XML file to a glade 3 XML file,&lt;br&gt;exactly the same as reported originally.&lt;br&gt;&lt;br&gt;Traceback (most recent call last):&lt;br&gt;
  File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1212, in &amp;lt;module&amp;gt;&lt;br&gt;    main()&lt;br&gt;  File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1209, in main&lt;br&gt;    handle_file(args[0])&lt;br&gt;  File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1172, in handle_file&lt;br&gt;
    check_widget(widgetdef, requireslist)&lt;br&gt;  File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1148, in check_widget&lt;br&gt;    elif widget[&amp;#39;class&amp;#39;][:5] == &amp;#39;Gnome&amp;#39; and &amp;#39;gnome&amp;#39; not in requirelist:&lt;br&gt;TypeError: &amp;#39;NoneType&amp;#39; object is unsubscriptable&lt;br&gt;
&lt;br&gt;&lt;br&gt;&lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&gt;From there, you will probably want to use GtkBuilder, for&lt;br&gt;
that you will first have to figure out how to eliminate the&lt;br&gt;
deprecated libgnomeui widgets from your project, then&lt;br&gt;
convert the project format in the preferences.&lt;br&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br&gt;What exactly is libgnomeui? I am stuck and I am not sure&lt;br&gt;about how to proceed with the XML glade 2 file conversion&lt;br&gt;to glade 3 XML.&lt;br&gt;&lt;br&gt;Thank you for your help&lt;br&gt;
with the conversion,&lt;br&gt;&lt;br&gt;Saku&lt;br&gt; &lt;/div&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;
&lt;br&gt;
Cheers,&lt;br&gt;
        -Tristan&lt;br&gt;
&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;h5&quot;&gt;&lt;br&gt;
On Sun, Nov 22, 2009 at 2:53 PM, Saku Masukita&lt;br&gt;
&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26481389&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sakumasukita@...&lt;/a&gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hello,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I am running ubuntu 9.04 and wanted to use glade&lt;br&gt;
&amp;gt; so I ran the following command at a shell prompt:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; $ sudo apt-get install glade-3&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I have an old glade2 file from November of 2004&lt;br&gt;
&amp;gt; and would like to convert it to the glade3 file format&lt;br&gt;
&amp;gt; but for whatever reason the python conversion tool&lt;br&gt;
&amp;gt; which comes with glade3 is failing to work.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; $ libglade-convert foo.glade&lt;br&gt;
&amp;gt; Traceback (most recent call last):&lt;br&gt;
&amp;gt;   File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1212, in &amp;lt;module&amp;gt;&lt;br&gt;
&amp;gt;     main()&lt;br&gt;
&amp;gt;   File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1209, in main&lt;br&gt;
&amp;gt;     handle_file(args[0])&lt;br&gt;
&amp;gt;   File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1172, in handle_file&lt;br&gt;
&amp;gt;     check_widget(widgetdef, requireslist)&lt;br&gt;
&amp;gt;   File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1148, in check_widget&lt;br&gt;
&amp;gt;     elif widget[&amp;#39;class&amp;#39;][:5] == &amp;#39;Gnome&amp;#39; and &amp;#39;gnome&amp;#39; not in requirelist:&lt;br&gt;
&amp;gt; TypeError: &amp;#39;NoneType&amp;#39; object is unsubscriptable&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I am not sure what is causing this.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; The glade 2 file which is causing these errors can be found at:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://whm.sourceforge.net/foo.glade&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://whm.sourceforge.net/foo.glade&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thank you for your help,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hopefully libglade-converter can be fixed to address this problem,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Saku Masukita&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&amp;gt; _______________________________________________&lt;br&gt;
&amp;gt; Glade-devel maillist  -  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26481389&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-devel@...&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-devel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-devel&lt;/a&gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Glade-devel maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26481389&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---Dev-f1324.html&quot; embed=&quot;fixTarget[1324]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/please-help%3A-bug%3A-glade2-file-conversion-to-glade3-failed-tp26467085p26481389.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26467965</id>
	<title>Re: Abusing Glade? :-)</title>
	<published>2009-11-22T10:29:09Z</published>
	<updated>2009-11-22T10:29:09Z</updated>
	<author>
		<name>Tim Cook-4</name>
	</author>
	<content type="html">Hi Tristan,
&lt;br&gt;&lt;br&gt;I got so excited with your answer that I immediately put people to work
&lt;br&gt;and started a development plan. :-) &amp;nbsp;&lt;a href=&quot;https://launchpad.net/cdd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://launchpad.net/cdd&lt;/a&gt;&amp;nbsp;as part
&lt;br&gt;of our umbrella project &lt;a href=&quot;https://launchpad.net/mlhim&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://launchpad.net/mlhim&lt;/a&gt;&amp;nbsp;Hence I forgot to
&lt;br&gt;send a BIG thank you for your reply.
&lt;br&gt;&lt;br&gt;If anyone is interested in learning about leading edge healthcare
&lt;br&gt;information systems and would like to join in the project, the current
&lt;br&gt;primary mailing list is actually the OSHIP developers list
&lt;br&gt;&lt;a href=&quot;https://launchpad.net/~oship-dev&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://launchpad.net/~oship-dev&lt;/a&gt;&amp;nbsp;since it is the oldest project.
&lt;br&gt;However, we will be centralizing on the MLHIM umbrella soon.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Tim
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Tue, 2009-11-17 at 00:22 -0200, Tristan Van Berkom wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Mon, Nov 16, 2009 at 12:53 PM, Tim Cook &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26467965&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;timothywayne.cook@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi All,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; For those that may have built their own widgets and added them to Glade
&lt;br&gt;&amp;gt; &amp;gt; I'd like to ask a question.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I want to use the Glade machinery to allow users to build what I call
&lt;br&gt;&amp;gt; &amp;gt; constraint definitions against a well defined reference model. &amp;nbsp;There
&lt;br&gt;&amp;gt; &amp;gt; will only be about 30 or so widgets and most of them are simply
&lt;br&gt;&amp;gt; &amp;gt; adaptations of existing widgets. &amp;nbsp;Containers, trees, lists, text boxes,
&lt;br&gt;&amp;gt; &amp;gt; etc. but of course all the properties/constraints are different
&lt;br&gt;&amp;gt; &amp;gt; (actually simpler than in Glade).
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; So I would like to hide/remove the existing Glade widgets and leave only
&lt;br&gt;&amp;gt; &amp;gt; my two libraries visible. &amp;nbsp;Then in the XML I will write the names of the
&lt;br&gt;&amp;gt; &amp;gt; classes from the reference model as well as modify all the property
&lt;br&gt;&amp;gt; &amp;gt; settings according to each class as needed.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; So why do this? &amp;nbsp;Well, it gives me a great starting point for people
&lt;br&gt;&amp;gt; &amp;gt; without knowledge of a complex system to be able to put components
&lt;br&gt;&amp;gt; &amp;gt; together in a way that makes sense to them in their domain. &amp;nbsp;Gives me a
&lt;br&gt;&amp;gt; &amp;gt; generic XML output that I can use to build classes for a variety of
&lt;br&gt;&amp;gt; &amp;gt; programming languages that can be executed against this reference model
&lt;br&gt;&amp;gt; &amp;gt; in each of those languages.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Here is a (non-sensical) modified XML file just showing how I envision
&lt;br&gt;&amp;gt; &amp;gt; the object (class) names being changed to match the reference model. &amp;nbsp;I
&lt;br&gt;&amp;gt; &amp;gt; didn't bother with the property names but you can imaging that they will
&lt;br&gt;&amp;gt; &amp;gt; be modified extensively as well.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I would appreciate any thoughts/commets/feedback on this approach.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; First of all, everything you want to do should be quite simple and require
&lt;br&gt;&amp;gt; no modifications to Glade, except hiding the existing catalogs.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Glade installs usually with at least the GTK+ catalog - and while practically
&lt;br&gt;&amp;gt; speaking, you dont need to display this catalog in the palette, you do need
&lt;br&gt;&amp;gt; the GTK+ catalog to be installed to do useful things with GTK+ derived objects.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Basically, if you havent yet looked into the reference docs, the idea is that
&lt;br&gt;&amp;gt; every catalog provides an adaptor class for any object that the catalog wants
&lt;br&gt;&amp;gt; to introduce to the Glade runtime - so for instance, to leverage the code
&lt;br&gt;&amp;gt; that does Drag/Resize in the GtkTable widget, you will want to derive from
&lt;br&gt;&amp;gt; the GladeWidgetAdaptor that was subclassed for GtkTable.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So I would suggest you start by creating your catalog with your GTK+ derived
&lt;br&gt;&amp;gt; widgets and depend on the 'gtk+' catalog - when you are finished that part,
&lt;br&gt;&amp;gt; which may only imply declaring the object types and disableing/hiding some
&lt;br&gt;&amp;gt; properties, or could imply providing some of your own custom editing widgets
&lt;br&gt;&amp;gt; (i.e. the property editor is subclassable and allows you to present
&lt;br&gt;&amp;gt; the information
&lt;br&gt;&amp;gt; differently than just flat properties, the class adaptor provides a mechanism
&lt;br&gt;&amp;gt; to create an editor on behalf of the class)...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Anyway that would be the juice of your work, hiding the installed GTK+ catalog
&lt;br&gt;&amp;gt; from the palette could be a feature you maintain as a downstream hack/patch
&lt;br&gt;&amp;gt; against Glade, or if its of any real use to others we could even develop some
&lt;br&gt;&amp;gt; mechanism in Glade to hide widgets from catalog dependencies.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Actually, you could even probably just remove the
&lt;br&gt;&amp;gt; &amp;lt;glade-widget-class-ref&amp;gt; entries
&lt;br&gt;&amp;gt; and &amp;lt;glade-widget-group&amp;gt; entries in the GTK+ catalog, which would result in the
&lt;br&gt;&amp;gt; types getting properly introduced into the runtime, but no references
&lt;br&gt;&amp;gt; to the widgets
&lt;br&gt;&amp;gt; from the palette.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Have fun :)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Tristan
&lt;/div&gt;&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;***************************************************************
&lt;br&gt;Timothy Cook, MSc
&lt;br&gt;&lt;br&gt;LinkedIn Profile:&lt;a href=&quot;http://www.linkedin.com/in/timothywaynecook&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/timothywaynecook&lt;/a&gt;&amp;nbsp;
&lt;br&gt;Skype ID == (upon request)
&lt;br&gt;Academic.Edu Profile: &lt;a href=&quot;http://uff.academia.edu/TimothyCook&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://uff.academia.edu/TimothyCook&lt;/a&gt;&lt;br&gt;&lt;br&gt;You may get my Public GPG key from &amp;nbsp;popular keyservers or &amp;nbsp; &amp;nbsp;
&lt;br&gt;from this link &lt;a href=&quot;http://timothywayne.cook.googlepages.com/home&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://timothywayne.cook.googlepages.com/home&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26467965&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26467965/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Abusing-Glade---%3A-%29-tp26373284p26467965.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26467215</id>
	<title>Re: please help: bug: glade2 file conversion to glade3 failed</title>
	<published>2009-11-22T09:11:52Z</published>
	<updated>2009-11-22T09:11:52Z</updated>
	<author>
		<name>Tristan Van Berkom-2</name>
	</author>
	<content type="html">Hello.
&lt;br&gt;&lt;br&gt;Glade does not come with any conversion script.
&lt;br&gt;&lt;br&gt;Just make sure you have the gnome plugin for Glade installed
&lt;br&gt;on your system and then try to load the file directly in Glade.
&lt;br&gt;&lt;br&gt;&amp;gt;From there, you will probably want to use GtkBuilder, for
&lt;br&gt;that you will first have to figure out how to eliminate the
&lt;br&gt;deprecated libgnomeui widgets from your project, then
&lt;br&gt;convert the project format in the preferences.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Tristan
&lt;br&gt;&lt;br&gt;On Sun, Nov 22, 2009 at 2:53 PM, Saku Masukita
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26467215&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sakumasukita@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am running ubuntu 9.04 and wanted to use glade
&lt;br&gt;&amp;gt; so I ran the following command at a shell prompt:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ sudo apt-get install glade-3
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have an old glade2 file from November of 2004
&lt;br&gt;&amp;gt; and would like to convert it to the glade3 file format
&lt;br&gt;&amp;gt; but for whatever reason the python conversion tool
&lt;br&gt;&amp;gt; which comes with glade3 is failing to work.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; $ libglade-convert foo.glade
&lt;br&gt;&amp;gt; Traceback (most recent call last):
&lt;br&gt;&amp;gt;   File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1212, in &amp;lt;module&amp;gt;
&lt;br&gt;&amp;gt;     main()
&lt;br&gt;&amp;gt;   File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1209, in main
&lt;br&gt;&amp;gt;     handle_file(args[0])
&lt;br&gt;&amp;gt;   File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1172, in handle_file
&lt;br&gt;&amp;gt;     check_widget(widgetdef, requireslist)
&lt;br&gt;&amp;gt;   File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1148, in check_widget
&lt;br&gt;&amp;gt;     elif widget['class'][:5] == 'Gnome' and 'gnome' not in requirelist:
&lt;br&gt;&amp;gt; TypeError: 'NoneType' object is unsubscriptable
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am not sure what is causing this.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The glade 2 file which is causing these errors can be found at:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://whm.sourceforge.net/foo.glade&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://whm.sourceforge.net/foo.glade&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you for your help,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hopefully libglade-converter can be fixed to address this problem,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Saku Masukita
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Glade-devel maillist  -  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26467215&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-devel@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-devel&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Glade-devel maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26467215&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---Dev-f1324.html&quot; embed=&quot;fixTarget[1324]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/please-help%3A-bug%3A-glade2-file-conversion-to-glade3-failed-tp26467085p26467215.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26467085</id>
	<title>please help: bug: glade2 file conversion to glade3 failed</title>
	<published>2009-11-22T08:53:59Z</published>
	<updated>2009-11-22T08:53:59Z</updated>
	<author>
		<name>Saku Masukita</name>
	</author>
	<content type="html">&lt;div class=&quot;gmail_quote&quot;&gt;&lt;br&gt;Hello,&lt;br&gt;&lt;br&gt;I am running ubuntu 9.04 and wanted to use glade&lt;br&gt;so I ran the following command at a shell prompt:&lt;br&gt;&lt;br&gt;$ sudo apt-get install glade-3&lt;br&gt;&lt;br&gt;I have an old glade2 file from November of 2004&lt;br&gt;
and would like to convert it to the glade3 file format&lt;br&gt;but for whatever reason the python conversion tool&lt;br&gt;which comes with glade3 is failing to work.&lt;br&gt;&lt;br&gt;$ libglade-convert foo.glade&lt;br&gt;Traceback (most recent call last):&lt;br&gt;
  File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1212, in &amp;lt;module&amp;gt;&lt;br&gt;    main()&lt;br&gt;  File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1209, in main&lt;br&gt;    handle_file(args[0])&lt;br&gt;  File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1172, in handle_file&lt;br&gt;
    check_widget(widgetdef, requireslist)&lt;br&gt;  File &amp;quot;/usr/bin/libglade-convert&amp;quot;, line 1148, in check_widget&lt;br&gt;    elif widget[&amp;#39;class&amp;#39;][:5] == &amp;#39;Gnome&amp;#39; and &amp;#39;gnome&amp;#39; not in requirelist:&lt;br&gt;TypeError: &amp;#39;NoneType&amp;#39; object is unsubscriptable&lt;br&gt;
&lt;br&gt;I am not sure what is causing this.&lt;br&gt;&lt;br&gt;The glade 2 file which is causing these errors can be found at:&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://whm.sourceforge.net/foo.glade&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://whm.sourceforge.net/foo.glade&lt;/a&gt;&lt;br&gt;
&lt;br&gt;Thank you for your help,&lt;br&gt;&lt;br&gt;Hopefully libglade-converter can be fixed to address this problem,&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;&lt;font color=&quot;#888888&quot;&gt;&lt;br&gt;Saku Masukita&lt;br&gt;&lt;br&gt;&lt;/font&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Glade-devel maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26467085&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-devel&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---Dev-f1324.html&quot; embed=&quot;fixTarget[1324]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - Dev&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/please-help%3A-bug%3A-glade2-file-conversion-to-glade3-failed-tp26467085p26467085.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26390648</id>
	<title>Re: Abusing Glade? :-)</title>
	<published>2009-11-17T06:14:10Z</published>
	<updated>2009-11-17T06:14:10Z</updated>
	<author>
		<name>Alexey Kurochkin</name>
	</author>
	<content type="html">On Tue, 2009-11-17 at 00:22 -0200, Tristan Van Berkom wrote:
&lt;br&gt;&amp;gt; Anyway that would be the juice of your work, hiding the installed GTK+
&lt;br&gt;&amp;gt; catalog
&lt;br&gt;&amp;gt; from the palette could be a feature you maintain as a downstream
&lt;br&gt;&amp;gt; hack/patch
&lt;br&gt;&amp;gt; against Glade, or if its of any real use to others we could even
&lt;br&gt;&amp;gt; develop some
&lt;br&gt;&amp;gt; mechanism in Glade to hide widgets from catalog dependencies.
&lt;br&gt;&lt;br&gt;When you have to manage sets of custom widgets and data objects, some of
&lt;br&gt;which are general purpose, and others are peculiar to a particular
&lt;br&gt;project, it would be quite handy to show only relevant ones in the
&lt;br&gt;palette. If anybody to implement configurable palette, I'd vote for this
&lt;br&gt;feature to be available for everybody in per-user as well as per-project
&lt;br&gt;basis.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26390648&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Abusing-Glade---%3A-%29-tp26373284p26390648.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26383379</id>
	<title>Re: Abusing Glade? :-)</title>
	<published>2009-11-16T18:22:23Z</published>
	<updated>2009-11-16T18:22:23Z</updated>
	<author>
		<name>Tristan Van Berkom-2</name>
	</author>
	<content type="html">On Mon, Nov 16, 2009 at 12:53 PM, Tim Cook &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26383379&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;timothywayne.cook@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi All,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; For those that may have built their own widgets and added them to Glade
&lt;br&gt;&amp;gt; I'd like to ask a question.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I want to use the Glade machinery to allow users to build what I call
&lt;br&gt;&amp;gt; constraint definitions against a well defined reference model.  There
&lt;br&gt;&amp;gt; will only be about 30 or so widgets and most of them are simply
&lt;br&gt;&amp;gt; adaptations of existing widgets.  Containers, trees, lists, text boxes,
&lt;br&gt;&amp;gt; etc. but of course all the properties/constraints are different
&lt;br&gt;&amp;gt; (actually simpler than in Glade).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So I would like to hide/remove the existing Glade widgets and leave only
&lt;br&gt;&amp;gt; my two libraries visible.  Then in the XML I will write the names of the
&lt;br&gt;&amp;gt; classes from the reference model as well as modify all the property
&lt;br&gt;&amp;gt; settings according to each class as needed.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So why do this?  Well, it gives me a great starting point for people
&lt;br&gt;&amp;gt; without knowledge of a complex system to be able to put components
&lt;br&gt;&amp;gt; together in a way that makes sense to them in their domain.  Gives me a
&lt;br&gt;&amp;gt; generic XML output that I can use to build classes for a variety of
&lt;br&gt;&amp;gt; programming languages that can be executed against this reference model
&lt;br&gt;&amp;gt; in each of those languages.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here is a (non-sensical) modified XML file just showing how I envision
&lt;br&gt;&amp;gt; the object (class) names being changed to match the reference model.  I
&lt;br&gt;&amp;gt; didn't bother with the property names but you can imaging that they will
&lt;br&gt;&amp;gt; be modified extensively as well.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I would appreciate any thoughts/commets/feedback on this approach.
&lt;/div&gt;&lt;br&gt;Hi,
&lt;br&gt;&amp;nbsp; &amp;nbsp; First of all, everything you want to do should be quite simple and require
&lt;br&gt;no modifications to Glade, except hiding the existing catalogs.
&lt;br&gt;&lt;br&gt;Glade installs usually with at least the GTK+ catalog - and while practically
&lt;br&gt;speaking, you dont need to display this catalog in the palette, you do need
&lt;br&gt;the GTK+ catalog to be installed to do useful things with GTK+ derived objects.
&lt;br&gt;&lt;br&gt;Basically, if you havent yet looked into the reference docs, the idea is that
&lt;br&gt;every catalog provides an adaptor class for any object that the catalog wants
&lt;br&gt;to introduce to the Glade runtime - so for instance, to leverage the code
&lt;br&gt;that does Drag/Resize in the GtkTable widget, you will want to derive from
&lt;br&gt;the GladeWidgetAdaptor that was subclassed for GtkTable.
&lt;br&gt;&lt;br&gt;So I would suggest you start by creating your catalog with your GTK+ derived
&lt;br&gt;widgets and depend on the 'gtk+' catalog - when you are finished that part,
&lt;br&gt;which may only imply declaring the object types and disableing/hiding some
&lt;br&gt;properties, or could imply providing some of your own custom editing widgets
&lt;br&gt;(i.e. the property editor is subclassable and allows you to present
&lt;br&gt;the information
&lt;br&gt;differently than just flat properties, the class adaptor provides a mechanism
&lt;br&gt;to create an editor on behalf of the class)...
&lt;br&gt;&lt;br&gt;Anyway that would be the juice of your work, hiding the installed GTK+ catalog
&lt;br&gt;from the palette could be a feature you maintain as a downstream hack/patch
&lt;br&gt;against Glade, or if its of any real use to others we could even develop some
&lt;br&gt;mechanism in Glade to hide widgets from catalog dependencies.
&lt;br&gt;&lt;br&gt;Actually, you could even probably just remove the
&lt;br&gt;&amp;lt;glade-widget-class-ref&amp;gt; entries
&lt;br&gt;and &amp;lt;glade-widget-group&amp;gt; entries in the GTK+ catalog, which would result in the
&lt;br&gt;types getting properly introduced into the runtime, but no references
&lt;br&gt;to the widgets
&lt;br&gt;from the palette.
&lt;br&gt;&lt;br&gt;Have fun :)
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Tristan
&lt;br&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26383379&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Abusing-Glade---%3A-%29-tp26373284p26383379.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26374339</id>
	<title>Re: Print Dialog -Can't add handlers for widgets</title>
	<published>2009-11-16T07:57:57Z</published>
	<updated>2009-11-16T07:57:57Z</updated>
	<author>
		<name>Tristan Van Berkom-2</name>
	</author>
	<content type="html">On Mon, Nov 16, 2009 at 1:32 PM, Arun SAG &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26374339&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sagarun@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; I used Print Dialog in glade to enable printing in my application. But i am
&lt;br&gt;&amp;gt; not able to add signal handlers to various widgets in print dialog. I don't
&lt;br&gt;&amp;gt; know  what i am trying to do is correct or not. Please enlighten me.
&lt;br&gt;&lt;br&gt;If I understand correctly, you shouldnt need to meddle with the internal
&lt;br&gt;widgets of a print dialog, the dialog should return some response telling
&lt;br&gt;if the print operation was queued or not (best guess), or if the user selected
&lt;br&gt;the cancel button.
&lt;br&gt;&lt;br&gt;&amp;gt; Is there any easy way to print a Gtk Textbuffer directly to printer?
&lt;br&gt;&lt;br&gt;I'm not sure but I would doubt it, I would guess you have to pull the
&lt;br&gt;buffer text out first and pass a gchar * to the printing stuff - if you cant
&lt;br&gt;pull that information from the docs then you should probably ask on
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26374339&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;gtk-app-devel-list@...&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -Tristan
&lt;br&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26374339&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Print-Dialog--Can%27t-add-handlers-for-widgets-tp26373960p26374339.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26373960</id>
	<title>Print Dialog -Can't add handlers for widgets</title>
	<published>2009-11-16T07:32:39Z</published>
	<updated>2009-11-16T07:32:39Z</updated>
	<author>
		<name>Arun SAG</name>
	</author>
	<content type="html">Hi,&lt;br&gt;I used Print Dialog in glade to enable printing in my application. But i am not able to add signal handlers to various widgets in print dialog. I don&amp;#39;t know  what i am trying to do is correct or not. Please enlighten me.&lt;br&gt;

&lt;br&gt;Is there any easy way to print a Gtk Textbuffer directly to printer?&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks and Regards&lt;br&gt;Arun SAG&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;SAGA&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26373960&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Print-Dialog--Can%27t-add-handlers-for-widgets-tp26373960p26373960.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26373284</id>
	<title>Abusing Glade?  :-)</title>
	<published>2009-11-16T06:53:17Z</published>
	<updated>2009-11-16T06:53:17Z</updated>
	<author>
		<name>Tim Cook-4</name>
	</author>
	<content type="html">Hi All,
&lt;br&gt;&lt;br&gt;For those that may have built their own widgets and added them to Glade
&lt;br&gt;I'd like to ask a question. &amp;nbsp;
&lt;br&gt;&lt;br&gt;I want to use the Glade machinery to allow users to build what I call
&lt;br&gt;constraint definitions against a well defined reference model. &amp;nbsp;There
&lt;br&gt;will only be about 30 or so widgets and most of them are simply
&lt;br&gt;adaptations of existing widgets. &amp;nbsp;Containers, trees, lists, text boxes,
&lt;br&gt;etc. but of course all the properties/constraints are different
&lt;br&gt;(actually simpler than in Glade).
&lt;br&gt;&lt;br&gt;So I would like to hide/remove the existing Glade widgets and leave only
&lt;br&gt;my two libraries visible. &amp;nbsp;Then in the XML I will write the names of the
&lt;br&gt;classes from the reference model as well as modify all the property
&lt;br&gt;settings according to each class as needed. &amp;nbsp; 
&lt;br&gt;&lt;br&gt;So why do this? &amp;nbsp;Well, it gives me a great starting point for people
&lt;br&gt;without knowledge of a complex system to be able to put components
&lt;br&gt;together in a way that makes sense to them in their domain. &amp;nbsp;Gives me a
&lt;br&gt;generic XML output that I can use to build classes for a variety of
&lt;br&gt;programming languages that can be executed against this reference model
&lt;br&gt;in each of those languages.
&lt;br&gt;&lt;br&gt;Here is a (non-sensical) modified XML file just showing how I envision
&lt;br&gt;the object (class) names being changed to match the reference model. &amp;nbsp;I
&lt;br&gt;didn't bother with the property names but you can imaging that they will
&lt;br&gt;be modified extensively as well.
&lt;br&gt;&lt;br&gt;I would appreciate any thoughts/commets/feedback on this approach.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Tim
&lt;br&gt;&lt;br&gt;*****************************************
&lt;br&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;
&lt;br&gt;&amp;lt;!-- namespace def stuff defined here --&amp;gt;
&lt;br&gt;&amp;lt;condef&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;requires lib=&amp;quot;gtk+&amp;quot; version=&amp;quot;2.16&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;!-- interface-naming-policy project-wide --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;object class=&amp;quot;OBSERVATION&amp;quot; id=&amp;quot;Observation1&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;object class=&amp;quot;DvTable&amp;quot; id=&amp;quot;table1&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;visible&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;n_rows&amp;quot;&amp;gt;3&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;n_columns&amp;quot;&amp;gt;3&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;placeholder/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;placeholder/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;placeholder/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;placeholder/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;placeholder/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;placeholder/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;object class=&amp;quot;DvCheckButton&amp;quot; id=&amp;quot;checkbutton1&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;label&amp;quot;
&lt;br&gt;translatable=&amp;quot;yes&amp;quot;&amp;gt;checkbutton&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;visible&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;can_focus&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;receives_default&amp;quot;&amp;gt;False&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;draw_indicator&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/object&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;packing&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;left_attach&amp;quot;&amp;gt;2&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;right_attach&amp;quot;&amp;gt;3&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;top_attach&amp;quot;&amp;gt;1&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;bottom_attach&amp;quot;&amp;gt;2&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/packing&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;object class=&amp;quot;DvRadioButton&amp;quot; id=&amp;quot;radiobutton1&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;label&amp;quot;
&lt;br&gt;translatable=&amp;quot;yes&amp;quot;&amp;gt;radiobutton&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;visible&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;can_focus&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;receives_default&amp;quot;&amp;gt;False&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;active&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;draw_indicator&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/object&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;packing&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;left_attach&amp;quot;&amp;gt;2&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;right_attach&amp;quot;&amp;gt;3&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;top_attach&amp;quot;&amp;gt;2&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;bottom_attach&amp;quot;&amp;gt;3&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/packing&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;object class=&amp;quot;DvText&amp;quot; id=&amp;quot;textview1&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;visible&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;can_focus&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/object&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;packing&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;top_attach&amp;quot;&amp;gt;2&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;bottom_attach&amp;quot;&amp;gt;3&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/packing&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/object&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;object class=&amp;quot;DvList&amp;quot; id=&amp;quot;liststore1&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;object class=&amp;quot;DvText&amp;quot; id=&amp;quot;textbuffer1&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;lt;/object&amp;gt;
&lt;br&gt;&amp;lt;/condef&amp;gt;
&lt;br&gt;*****************************************
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;***************************************************************
&lt;br&gt;Timothy Cook, MSc
&lt;br&gt;&lt;br&gt;LinkedIn Profile:&lt;a href=&quot;http://www.linkedin.com/in/timothywaynecook&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/timothywaynecook&lt;/a&gt;&amp;nbsp;
&lt;br&gt;Skype ID == (upon request)
&lt;br&gt;Academic.Edu Profile: &lt;a href=&quot;http://uff.academia.edu/TimothyCook&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://uff.academia.edu/TimothyCook&lt;/a&gt;&lt;br&gt;&lt;br&gt;You may get my Public GPG key from &amp;nbsp;popular keyservers or &amp;nbsp; &amp;nbsp;
&lt;br&gt;from this link &lt;a href=&quot;http://timothywayne.cook.googlepages.com/home&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://timothywayne.cook.googlepages.com/home&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26373284&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/26373284/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Abusing-Glade---%3A-%29-tp26373284p26373284.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26339850</id>
	<title>expander auto resize and force button Icons</title>
	<published>2009-11-13T09:02:13Z</published>
	<updated>2009-11-13T09:02:13Z</updated>
	<author>
		<name>Andre &quot;Osku&quot; Schmidt-2</name>
	</author>
	<content type="html">Hello list,
&lt;br&gt;&lt;br&gt;i'm playing around with with glade3 (gtkbuilder) ui files (in vala) and
&lt;br&gt;was wondering if an expander should automatically resize the window
&lt;br&gt;smaller when you close the expander ? (as it automatically resizes the
&lt;br&gt;window bigger when you open it).
&lt;br&gt;&lt;br&gt;if we have to code that behaviour ourself, any pointers would be very
&lt;br&gt;helpful. (programming language doesn't matter)
&lt;br&gt;&lt;br&gt;and how to force an icon (without text) to a button ?
&lt;br&gt;(i need a play/pause button with only icons)
&lt;br&gt;&lt;br&gt;thank you
&lt;br&gt;.andre
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26339850&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/expander-auto-resize-and-force-button-Icons-tp26339850p26339850.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26297074</id>
	<title>How to deal with multi-line input ?</title>
	<published>2009-11-10T23:19:20Z</published>
	<updated>2009-11-10T23:19:20Z</updated>
	<author>
		<name>Raji Seetharaman</name>
	</author>
	<content type="html">&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;Hi &lt;br&gt;&lt;br&gt;Tristan Thanks for your help&lt;br&gt;&lt;br&gt;Now im able to give multi-line input at runtime&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26297074&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-deal-with-multi-line-input---tp26297074p26297074.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26285466</id>
	<title>Re: Text alignment in label</title>
	<published>2009-11-10T07:32:03Z</published>
	<updated>2009-11-10T07:32:03Z</updated>
	<author>
		<name>helgihg</name>
	</author>
	<content type="html">It worked! Thanks! :)&lt;br&gt;&lt;br&gt;Kind regards,&lt;br&gt;Helgi Hrafn Gunnarsson&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285466&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;helgi@...&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;2009/11/8 Manuel Alejandro Cerón Estrada &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285466&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ceronman@...&lt;/a&gt;&amp;gt;&lt;/span&gt;&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;2009/11/7 Helgi Hrafn Gunnarsson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285466&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;helgi@...&lt;/a&gt;&amp;gt;:&lt;br&gt;

&lt;div class=&quot;im&quot;&gt;&amp;gt; Hi.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I&amp;#39;m having trouble figuring out how to make label texts align to the left&lt;br&gt;
&amp;gt; instead of always being in the center. It&amp;#39;s a very simple login window...&lt;br&gt;
&amp;gt; there&amp;#39;s &amp;quot;Server Address&amp;quot;, &amp;quot;Username&amp;quot; and &amp;quot;Password&amp;quot;, but they&amp;#39;re all aligned&lt;br&gt;
&amp;gt; to the center. I&amp;#39;ve never really understood much about Glade, and just when&lt;br&gt;
&amp;gt; I thought I did, I ran into this weird problem of not being able to do&lt;br&gt;
&amp;gt; something so simple. ;) I&amp;#39;ve meddled with all the properties I can find and&lt;br&gt;
&amp;gt; tried Google, but still no luck, and nobody seems to have this problem but&lt;br&gt;
&amp;gt; me, so I&amp;#39;m starting to think I&amp;#39;m misunderstanding something more&lt;br&gt;
&amp;gt; fundamental.&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;&lt;div class=&quot;im&quot;&gt;Select the label and change the X-align property to 0.0 for left&lt;br&gt;
alignment. Use 1.0 for right.&lt;br&gt;
&lt;/div&gt;_______________________________________________&lt;br&gt;
Glade-users maillist  -  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285466&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285466&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Text-alignment-in-label-tp26248846p26285466.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26285209</id>
	<title>Re: How to deal with multi-line input ?</title>
	<published>2009-11-10T07:17:34Z</published>
	<updated>2009-11-10T07:17:34Z</updated>
	<author>
		<name>Tristan Van Berkom-2</name>
	</author>
	<content type="html">\&amp;gt; On Tue, Nov 10, 2009 at 2:35 AM, Tristan Van Berkom
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285209&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tristan.van.berkom@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; On Mon, Nov 9, 2009 at 6:16 PM, Raji Seetharaman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285209&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sraji.me@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Hi
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Can anyone say how to recieve multiline input from the user at runtime
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; using
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Python and Glade?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; You need to setup a GtkTextView/GtkTextBuffer.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Make sure the GtkTextView is &amp;quot;editable&amp;quot; and then
&lt;br&gt;&amp;gt;&amp;gt; connect to the &amp;quot;changed&amp;quot; signal on the GtkTextBuffer.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Cheers,
&lt;br&gt;&amp;gt;&amp;gt;       -Tristan
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Hi, please keep the discussion on the public list ;-)
&lt;br&gt;&lt;br&gt;&amp;gt; I did it with GtkTextView only &amp; also it is editable.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It is said that a TextBuffer can be created automatically when a TextView is
&lt;br&gt;&amp;gt; created.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don know how to include GtkTextBuffer manually
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;You can: go in the &amp;quot;text buffers&amp;quot; section of the palette and create
&lt;br&gt;one in the project,
&lt;br&gt;or more easily, just go set the &amp;quot;buffer&amp;quot; property in the text view properties.
&lt;br&gt;&lt;br&gt;When the dialog to select a buffer comes up, just press &amp;quot;New&amp;quot;.
&lt;br&gt;&lt;br&gt;&amp;gt; In the signals column i can find the signals related to GtkTextView not
&lt;br&gt;&amp;gt; GtkTextBuffer
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;You will find the GtkTextBuffer signals on the new GtkTextBuffer object ;-)
&lt;br&gt;&lt;br&gt;&amp;gt; U can find the python file here &lt;a href=&quot;http://pastebin.com/m67bb99fd&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pastebin.com/m67bb99fd&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; U can find the glade xml file here &lt;a href=&quot;http://pastebin.com/m4702e044&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://pastebin.com/m4702e044&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; -Tristan
&lt;br&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26285209&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-deal-with-multi-line-input---tp26272975p26285209.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26273676</id>
	<title>Re: How to deal with multi-line input ?</title>
	<published>2009-11-09T13:05:23Z</published>
	<updated>2009-11-09T13:05:23Z</updated>
	<author>
		<name>Tristan Van Berkom-2</name>
	</author>
	<content type="html">On Mon, Nov 9, 2009 at 6:16 PM, Raji Seetharaman &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26273676&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sraji.me@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Can anyone say how to recieve multiline input from the user at runtime using
&lt;br&gt;&amp;gt; Python and Glade?
&lt;br&gt;&lt;br&gt;You need to setup a GtkTextView/GtkTextBuffer.
&lt;br&gt;&lt;br&gt;Make sure the GtkTextView is &amp;quot;editable&amp;quot; and then
&lt;br&gt;connect to the &amp;quot;changed&amp;quot; signal on the GtkTextBuffer.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-Tristan
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks &amp; Regards
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Raji. S
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Glade-users maillist  -  &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26273676&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26273676&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-deal-with-multi-line-input---tp26272975p26273676.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26272975</id>
	<title>How to deal with multi-line input ?</title>
	<published>2009-11-09T12:16:50Z</published>
	<updated>2009-11-09T12:16:50Z</updated>
	<author>
		<name>Raji Seetharaman</name>
	</author>
	<content type="html">&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;Hi &lt;br&gt;&lt;br&gt;Can anyone say how to recieve multiline input from the user at runtime using Python and Glade?&lt;br&gt;&lt;br&gt;Thanks &amp;amp; Regards&lt;br&gt;&lt;br&gt;Raji. S&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Glade-users maillist &amp;nbsp;- &amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26272975&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Glade-users@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.ximian.com/mailman/listinfo/glade-users&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.ximian.com/mailman/listinfo/glade-users&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnome---Glade---User-f1325.html&quot; embed=&quot;fixTarget[1325]&quot; target=&quot;_top&quot; &gt;Gnome - Glade - User&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/How-to-deal-with-multi-line-input---tp26272975p26272975.html" />
</entry>

</feed>
