<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Creating a GUI Application Using Glade and Ruby</title>
	<atom:link href="http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/</link>
	<description>Technology, Philosophy, The Whole Shebang</description>
	<lastBuildDate>Fri, 23 Oct 2009 00:39:50 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Miss25</title>
		<link>http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2194</link>
		<dc:creator>Miss25</dc:creator>
		<pubDate>Fri, 23 Oct 2009 00:39:50 +0000</pubDate>
		<guid isPermaLink="false">http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2194</guid>
		<description>Place the pot over medium-low heat. ,</description>
		<content:encoded><![CDATA[<p>Place the pot over medium-low heat. ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miss10</title>
		<link>http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2193</link>
		<dc:creator>Miss10</dc:creator>
		<pubDate>Sat, 10 Oct 2009 17:06:23 +0000</pubDate>
		<guid isPermaLink="false">http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2193</guid>
		<description>Now, whenever you visit a site, you can use the Google toolbar to pay for content, or small items. ,</description>
		<content:encoded><![CDATA[<p>Now, whenever you visit a site, you can use the Google toolbar to pay for content, or small items. ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Catalin Fest</title>
		<link>http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2192</link>
		<dc:creator>Catalin Fest</dc:creator>
		<pubDate>Fri, 11 Sep 2009 14:58:38 +0000</pubDate>
		<guid isPermaLink="false">http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2192</guid>
		<description>Nice example!
The code is faster than Python code.
But I think it is slower.</description>
		<content:encoded><![CDATA[<p>Nice example!<br />
The code is faster than Python code.<br />
But I think it is slower.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RaW</title>
		<link>http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2186</link>
		<dc:creator>RaW</dc:creator>
		<pubDate>Wed, 22 Apr 2009 20:07:28 +0000</pubDate>
		<guid isPermaLink="false">http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2186</guid>
		<description>To Bruno Fosados and Michal Suchanek:
I also use Glade 3.4.5 and it works for me. Check if your main window has &#039;visible&#039; property set to &#039;true&#039;. It seems that default settings for Glade 3.4.6 is &#039;false&#039;.</description>
		<content:encoded><![CDATA[<p>To Bruno Fosados and Michal Suchanek:<br />
I also use Glade 3.4.5 and it works for me. Check if your main window has &#8216;visible&#8217; property set to &#8216;true&#8217;. It seems that default settings for Glade 3.4.6 is &#8216;false&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2185</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Wed, 01 Apr 2009 06:18:55 +0000</pubDate>
		<guid isPermaLink="false">http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2185</guid>
		<description>Hi,
First of all (though a bit late): thanks for this easy introduction to glade, really helped me a lot.
But a question though: is it possible to define translations for the buttons within the scripts, or is gettext really required ? I have had problems trying to configure that after gem install, a (require &quot;gettext&quot;) always says, that gettext is not available...i am a total noob in these things, but i have come a bit further than expected and wanted to go the whole way...so maybe someone knows a good link to an as easy-tutorial as this one.
Cheers, Andy</description>
		<content:encoded><![CDATA[<p>Hi,<br />
First of all (though a bit late): thanks for this easy introduction to glade, really helped me a lot.<br />
But a question though: is it possible to define translations for the buttons within the scripts, or is gettext really required ? I have had problems trying to configure that after gem install, a (require &#8220;gettext&#8221;) always says, that gettext is not available&#8230;i am a total noob in these things, but i have come a bit further than expected and wanted to go the whole way&#8230;so maybe someone knows a good link to an as easy-tutorial as this one.<br />
Cheers, Andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno Fosados</title>
		<link>http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2182</link>
		<dc:creator>Bruno Fosados</dc:creator>
		<pubDate>Sat, 07 Feb 2009 21:35:36 +0000</pubDate>
		<guid isPermaLink="false">http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2182</guid>
		<description>looks like Glade 3.4.5 output file is not supported jet by ruby-glade-create-template 1.1.4(libgnome2-ruby 1.7rc1) insted i use Glade 2.12.2 and applications runs pretty nice.</description>
		<content:encoded><![CDATA[<p>looks like Glade 3.4.5 output file is not supported jet by ruby-glade-create-template 1.1.4(libgnome2-ruby 1.7rc1) insted i use Glade 2.12.2 and applications runs pretty nice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno Fosados</title>
		<link>http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2181</link>
		<dc:creator>Bruno Fosados</dc:creator>
		<pubDate>Sat, 07 Feb 2009 21:09:57 +0000</pubDate>
		<guid isPermaLink="false">http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2181</guid>
		<description>i have the same problem than Michal Suchanek, when i run the application it just do nothing. im using Glade 3.4.5 and ruby-glade-create-template 1.1.4 and ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] on ubuntu 7.10</description>
		<content:encoded><![CDATA[<p>i have the same problem than Michal Suchanek, when i run the application it just do nothing. im using Glade 3.4.5 and ruby-glade-create-template 1.1.4 and ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] on ubuntu 7.10</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alternatieven voor Monkeybars &#171; Things to remember&#8230;</title>
		<link>http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2180</link>
		<dc:creator>Alternatieven voor Monkeybars &#171; Things to remember&#8230;</dc:creator>
		<pubDate>Sat, 24 Jan 2009 17:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2180</guid>
		<description>[...] Ruby-GNOME2, gebaseerd op GTK+. Met Glade kun je snel en makkelijk GUI applicaties maken zoals beschreven in deze korte tutorial. [...]</description>
		<content:encoded><![CDATA[<p>[...] Ruby-GNOME2, gebaseerd op GTK+. Met Glade kun je snel en makkelijk GUI applicaties maken zoals beschreven in deze korte tutorial. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michal Suchanek</title>
		<link>http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2179</link>
		<dc:creator>Michal Suchanek</dc:creator>
		<pubDate>Tue, 30 Dec 2008 17:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2179</guid>
		<description>So here goes my HelloWorld code:
#!/usr/bin/env ruby
#
# This file is gererated by ruby-glade-create-template 1.1.4.
#
require &#039;libglade2&#039;

class HwGlade
  include GetText

  attr :glade

  def initialize(path_or_data, root = nil, domain = nil, localedir = nil, flag = GladeXML::FILE)
    bindtextdomain(domain, localedir, nil, &quot;UTF-8&quot;)
    @glade = GladeXML.new(path_or_data, root, domain, localedir, flag) {&#124;handler&#124; method(handler)}

  end

  def button2_clicked_cb(widget)
    Gtk.main_quit
  end
  def button1_clicked_cb(widget)
    Gtk.main_quit
  end
  def show
    @window = @glade[&#039;window1&#039;]
    @window.show_all
    @window.signal_connect(&quot;destroy&quot;) { Gtk.main_quit }
  end
end

# Main program
if __FILE__ == $0
  # Set values as your own application. 
  PROG_PATH = &quot;hw.glade&quot;
  PROG_NAME = &quot;YOUR_APPLICATION_NAME&quot;
  app = HwGlade.new(PROG_PATH, nil, PROG_NAME)
  app.show
  Gtk.main
end</description>
		<content:encoded><![CDATA[<p>So here goes my HelloWorld code:<br />
#!/usr/bin/env ruby<br />
#<br />
# This file is gererated by ruby-glade-create-template 1.1.4.<br />
#<br />
require &#8216;libglade2&#8242;</p>
<p>class HwGlade<br />
  include GetText</p>
<p>  attr :glade</p>
<p>  def initialize(path_or_data, root = nil, domain = nil, localedir = nil, flag = GladeXML::FILE)<br />
    bindtextdomain(domain, localedir, nil, &#8220;UTF-8&#8243;)<br />
    @glade = GladeXML.new(path_or_data, root, domain, localedir, flag) {|handler| method(handler)}</p>
<p>  end</p>
<p>  def button2_clicked_cb(widget)<br />
    Gtk.main_quit<br />
  end<br />
  def button1_clicked_cb(widget)<br />
    Gtk.main_quit<br />
  end<br />
  def show<br />
    @window = @glade['window1']<br />
    @window.show_all<br />
    @window.signal_connect(&#8220;destroy&#8221;) { Gtk.main_quit }<br />
  end<br />
end</p>
<p># Main program<br />
if __FILE__ == $0<br />
  # Set values as your own application.<br />
  PROG_PATH = &#8220;hw.glade&#8221;<br />
  PROG_NAME = &#8220;YOUR_APPLICATION_NAME&#8221;<br />
  app = HwGlade.new(PROG_PATH, nil, PROG_NAME)<br />
  app.show<br />
  Gtk.main<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michal Suchanek</title>
		<link>http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2178</link>
		<dc:creator>Michal Suchanek</dc:creator>
		<pubDate>Tue, 30 Dec 2008 10:19:38 +0000</pubDate>
		<guid isPermaLink="false">http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/#comment-2178</guid>
		<description>Hello

I tried to create an application with glade3.

The ruby-gnome-template worked just fine but running the application produces nothing.

I guess it is necessary to manually display the window since the application can have multiple windows. So far I have not found how to do that, though.</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>I tried to create an application with glade3.</p>
<p>The ruby-gnome-template worked just fine but running the application produces nothing.</p>
<p>I guess it is necessary to manually display the window since the application can have multiple windows. So far I have not found how to do that, though.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
