<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Getting your feet wet with RuGUI</title>
	<atom:link href="http://blog.rugui.org/2009/04/getting-your-feet-wet-with-rugui/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.rugui.org/2009/04/getting-your-feet-wet-with-rugui/</link>
	<description>RuGUI is an open-source framework that makes building desktop applications very easy. Like Ruby on Rails, it aims to improve productivity, favoring convention over configuration, DRY and MVC patterns.</description>
	<lastBuildDate>Sun, 12 Feb 2012 00:35:45 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Vicente Mundim</title>
		<link>http://blog.rugui.org/2009/04/getting-your-feet-wet-with-rugui/comment-page-1/#comment-150</link>
		<dc:creator>Vicente Mundim</dc:creator>
		<pubDate>Wed, 29 Jul 2009 14:01:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.intelitiva.com/?p=46#comment-150</guid>
		<description>Hi,

I really haven&#039;t had the need to create such applications yet. The insteresting thing about RuGUI is that it doesn&#039;t really add limits to what you can do. Anything you can do with Ruby/GTK (a.k.a, Ruby/Gnome) you can do with RuGUI, only you will need to write less code, and you code will be more organized.

I&#039;ve found &lt;a href=&quot;http://www.oreillynet.com/pub/a/python/2000/07/25/gnome_applet.html&quot; rel=&quot;nofollow&quot;&gt;this&lt;/a&gt; tutorial in python, but I couldn&#039;t found an simple example in Ruby. In the Ruby/Gnome site there is &lt;a href=&quot;http://ruby-gnome2.sourceforge.jp/hiki.cgi?Ruby%2FPanelApplet&quot; rel=&quot;nofollow&quot;&gt;this&lt;/a&gt; page, but it seemed so complex that I cannot believe it was designed for Ruby, which have always a simple way to do things. If you have had any experience building gnome-panel applets in Ruby/GTK, please share with us.

Cheers,
Vicente</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I really haven&#8217;t had the need to create such applications yet. The insteresting thing about RuGUI is that it doesn&#8217;t really add limits to what you can do. Anything you can do with Ruby/GTK (a.k.a, Ruby/Gnome) you can do with RuGUI, only you will need to write less code, and you code will be more organized.</p>
<p>I&#8217;ve found <a href="http://www.oreillynet.com/pub/a/python/2000/07/25/gnome_applet.html" rel="nofollow">this</a> tutorial in python, but I couldn&#8217;t found an simple example in Ruby. In the Ruby/Gnome site there is <a href="http://ruby-gnome2.sourceforge.jp/hiki.cgi?Ruby%2FPanelApplet" rel="nofollow">this</a> page, but it seemed so complex that I cannot believe it was designed for Ruby, which have always a simple way to do things. If you have had any experience building gnome-panel applets in Ruby/GTK, please share with us.</p>
<p>Cheers,<br />
Vicente</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: morii</title>
		<link>http://blog.rugui.org/2009/04/getting-your-feet-wet-with-rugui/comment-page-1/#comment-149</link>
		<dc:creator>morii</dc:creator>
		<pubDate>Wed, 29 Jul 2009 10:40:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.intelitiva.com/?p=46#comment-149</guid>
		<description>can i make app as a gnome-panel applet? and how?</description>
		<content:encoded><![CDATA[<p>can i make app as a gnome-panel applet? and how?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vicente Mundim</title>
		<link>http://blog.rugui.org/2009/04/getting-your-feet-wet-with-rugui/comment-page-1/#comment-148</link>
		<dc:creator>Vicente Mundim</dc:creator>
		<pubDate>Sat, 02 May 2009 13:28:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.intelitiva.com/?p=46#comment-148</guid>
		<description>Hi Nathan,

Yes, it would be better if we speak in english, so that others may follow us.

Regarding your question, you may take a look at the markup_translator, which has an about dialog that works just like that. Here is an example:

&lt;code&gt;./script/generate view my_dialog_view&lt;/code&gt;

This will create a view named MyDialogView, with a glade file my_dialog_view.glade. Just open the glade file in glade3 and setup your widgets there. You may use one of the dialog widgets (which inherits from Gtk::Dialog). Then, register this view in the MainController (or in other controller if you want), and add code to open the dialog (here it will open when the hello_button is clicked):

&lt;code&gt;
class MainController &lt; RuGUI::BaseController
  def setup_views
     register_view :main_view
     register_view :my_dialog_view
  end
&lt;/code&gt;
&lt;code&gt;
  on :hello_button, &#039;clicked&#039; do
    response = self.my_dialog_view.dialog.run
    # do something with the response here
  end
end
&lt;/code&gt;

ThatÂ´s it, questions are always welcome.</description>
		<content:encoded><![CDATA[<p>Hi Nathan,</p>
<p>Yes, it would be better if we speak in english, so that others may follow us.</p>
<p>Regarding your question, you may take a look at the markup_translator, which has an about dialog that works just like that. Here is an example:</p>
<p><code>./script/generate view my_dialog_view</code></p>
<p>This will create a view named MyDialogView, with a glade file my_dialog_view.glade. Just open the glade file in glade3 and setup your widgets there. You may use one of the dialog widgets (which inherits from Gtk::Dialog). Then, register this view in the MainController (or in other controller if you want), and add code to open the dialog (here it will open when the hello_button is clicked):</p>
<p><code><br />
class MainController < RuGUI::BaseController<br />
  def setup_views<br />
     register_view :main_view<br />
     register_view :my_dialog_view<br />
  end<br />
</code><br />
</code><code><br />
  on :hello_button, 'clicked' do<br />
    response = self.my_dialog_view.dialog.run<br />
    # do something with the response here<br />
  end<br />
end<br />
</code></p>
<p>ThatÂ´s it, questions are always welcome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://blog.rugui.org/2009/04/getting-your-feet-wet-with-rugui/comment-page-1/#comment-147</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Fri, 01 May 2009 02:03:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.intelitiva.com/?p=46#comment-147</guid>
		<description>now i see...I should speak in english.... Sorry
How can I work with more than one view and more than one glade file?
I mean,how can I create a view,and open that like a popup window without using the GTK code and using the view like a new window?</description>
		<content:encoded><![CDATA[<p>now i see&#8230;I should speak in english&#8230;. Sorry<br />
How can I work with more than one view and more than one glade file?<br />
I mean,how can I create a view,and open that like a popup window without using the GTK code and using the view like a new window?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://blog.rugui.org/2009/04/getting-your-feet-wet-with-rugui/comment-page-1/#comment-146</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Fri, 01 May 2009 01:58:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.intelitiva.com/?p=46#comment-146</guid>
		<description>interessante trabalho com o Model e o Controller,mas eu tenho uma duvida na view:
Como eu posso trabalhar com + de uma view e + de um arquivo glade?</description>
		<content:encoded><![CDATA[<p>interessante trabalho com o Model e o Controller,mas eu tenho uma duvida na view:<br />
Como eu posso trabalhar com + de uma view e + de um arquivo glade?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
