# Ruby GUI?

**URL:** <https://rubytalk.org/t/ruby-gui/39703>\
**Category:** ruby-talk\
**Created:** [6 August 2007 14:05 UTC](https://rubytalk.org/t/ruby-gui/39703 "2007-08-06T14:05:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![EVman](https://avatars.discourse-cdn.com/v4/letter/e/dfb087/32.png) [@EVman](https://rubytalk.org/u/EVman)\
**Post date:** [6 August 2007 14:05 UTC](https://rubytalk.org/t/ruby-gui/39703/1 "2007-08-06T14:05:37Z")

</div>

I am just playing with Ruby at the moment, although seriously enough to  
buy a couple of books, so I am still in the command line learning mode (on  
Linux).

I was wondering what Ruby folks use to build gui apps. I notice that TK  
sort of supports Ruby, but I haven't found much documentation on that yet.  
Possibly QT?

Anybody?

Thanks  
EVMan

---

<div class="post-metadata">

**Author:** ![gregarican](https://avatars.discourse-cdn.com/v4/letter/g/7feea3/32.png) [@gregarican](https://rubytalk.org/u/gregarican)\
**Post date:** [6 August 2007 14:09 UTC](https://rubytalk.org/t/ruby-gui/39703/2 "2007-08-06T14:09:58Z")

</div>

There's Tk, Qt, GTK, Fox, Wx, and other more obscure widget sets. Like  
WideStudio. If you search through the Ruby Application Archive you can  
scope some of these out. As for the best, it depends on your  
preferences --- lightweight versus heavyweight, more object oriented  
versus more primitive, etc.

> **···**
>
> On Aug 6, 10:04 am, EVman \<no...@nowhere.com\> wrote:
> 
> > I am just playing with Ruby at the moment, although seriously enough to  
> > buy a couple of books, so I am still in the command line learning mode (on  
> > Linux).
> > 
> > I was wondering what Ruby folks use to build gui apps. I notice that TK  
> > sort of supports Ruby, but I haven't found much documentation on that yet.  
> > Possibly QT?
> > 
> > Anybody?
> > 
> > Thanks  
> > EVMan

---

<div class="post-metadata">

**Author:** ![Stefano\_Crocco](https://avatars.discourse-cdn.com/v4/letter/s/5f9b8f/32.png) [@Stefano\_Crocco](https://rubytalk.org/u/Stefano_Crocco)\
**Post date:** [6 August 2007 14:13 UTC](https://rubytalk.org/t/ruby-gui/39703/3 "2007-08-06T14:13:30Z")

</div>

Alle lunedì 6 agosto 2007, EVman ha scritto:

> I am just playing with Ruby at the moment, although seriously enough to  
> buy a couple of books, so I am still in the command line learning mode (on  
> Linux).
> 
> I was wondering what Ruby folks use to build gui apps. I notice that TK  
> sort of supports Ruby, but I haven't found much documentation on that yet.  
> Possibly QT?
> 
> Anybody?
> 
> Thanks  
> EVMan

There are very good ruby bindings for Qt, both 3 and 4 and also for KDE 3, if  
you're interested in it. The project is at  
[http://rubyforge.org/projects/korundum\](http://rubyforge.org/projects/korundum%5C). Regarding documentation, you can use  
the documentation provided for the C++ Qt library, looking at the site  
[http://developer.kde.org/language-bindings/ruby/index.html](http://developer.kde.org/language-bindings/ruby/index.html) for the  
peculiarities of the ruby version of the library.

Stefano

---

<div class="post-metadata">

**Author:** ![Reid\_Thompson1](https://avatars.discourse-cdn.com/v4/letter/r/6de8d8/32.png) [@Reid\_Thompson1](https://rubytalk.org/u/Reid_Thompson1)\
**Post date:** [6 August 2007 15:23 UTC](https://rubytalk.org/t/ruby-gui/39703/4 "2007-08-06T15:23:15Z")

</div>

EVman wrote:

> I am just playing with Ruby at the moment, although seriously enough to  
> buy a couple of books, so I am still in the command line learning mode (on  
> Linux).
> 
> I was wondering what Ruby folks use to build gui apps. I notice that TK  
> sort of supports Ruby, but I haven't found much documentation on that yet.  
> Possibly QT?
> 
> Anybody?
> 
> Thanks  
> EVMan

[http://ruby-gnome2.sourceforge.jp/](http://ruby-gnome2.sourceforge.jp/)

> **···**
>
> --  
> View this message in context: [http://www.nabble.com/Ruby-GUI--tf4224342.html#a12018239](http://www.nabble.com/Ruby-GUI--tf4224342.html#a12018239)  
> Sent from the ruby-talk mailing list archive at Nabble.com.

---

<div class="post-metadata">

**Author:** ![Kenneth\_McDonald](https://avatars.discourse-cdn.com/v4/letter/k/dc4da7/32.png) [@Kenneth\_McDonald](https://rubytalk.org/u/Kenneth_McDonald)\
**Post date:** [6 August 2007 17:26 UTC](https://rubytalk.org/t/ruby-gui/39703/5 "2007-08-06T17:26:00Z")

</div>

I'd suggest JRuby/Swing, for crossplatform compatibility.

Ken

EVman wrote:

> **···**
>
> > I am just playing with Ruby at the moment, although seriously enough to  
> > buy a couple of books, so I am still in the command line learning mode (on  
> > Linux).
> > 
> > I was wondering what Ruby folks use to build gui apps. I notice that TK  
> > sort of supports Ruby, but I haven't found much documentation on that yet.  
> > Possibly QT?
> > 
> > Anybody?
> > 
> > Thanks  
> > EVMan

---

<div class="post-metadata">

**Author:** ![Brad\_Phelan1](https://avatars.discourse-cdn.com/v4/letter/b/f6c823/32.png) [@Brad\_Phelan1](https://rubytalk.org/u/Brad_Phelan1)\
**Post date:** [7 August 2007 08:25 UTC](https://rubytalk.org/t/ruby-gui/39703/6 "2007-08-07T08:25:03Z")

</div>

EVman wrote:

> I am just playing with Ruby at the moment, although seriously enough to  
> buy a couple of books, so I am still in the command line learning mode (on  
> Linux).
> 
> I was wondering what Ruby folks use to build gui apps. I notice that TK  
> sort of supports Ruby, but I haven't found much documentation on that yet.  
> Possibly QT?
> 
> Anybody?
> 
> Thanks  
> EVMan

Try on some shoes from \_why! Ultra simple little gui toolkit that  
seems great for learning.

[http://code.whytheluckystiff.net/shoes](http://code.whytheluckystiff.net/shoes)

> **···**
>
> --  
> Brad Phelan  
> [http://xtargets.com](http://xtargets.com)

---

<div class="post-metadata">

**Author:** ![gregarican](https://avatars.discourse-cdn.com/v4/letter/g/7feea3/32.png) [@gregarican](https://rubytalk.org/u/gregarican)\
**Post date:** [6 August 2007 14:15 UTC](https://rubytalk.org/t/ruby-gui/39703/7 "2007-08-06T14:15:13Z")

</div>

Forgot to give my $0.02 US. Personally the Qt widget set fit my way of  
development the best. For Windows it can be more restrictive (license  
wise) and tougher to work with using Ruby (compiling) but it seemed to  
do the job...

> **···**
>
> On Aug 6, 10:07 am, gregarican \<greg.kuj...@gmail.com\> wrote:
> 
> > On Aug 6, 10:04 am, EVman \<no...@nowhere.com\> wrote:
> > 
> > \> I am just playing with Ruby at the moment, although seriously enough to  
> > \> buy a couple of books, so I am still in the command line learning mode (on  
> > \> Linux).
> > 
> > \> I was wondering what Ruby folks use to build gui apps. I notice that TK  
> > \> sort of supports Ruby, but I haven't found much documentation on that yet.  
> > \> Possibly QT?
> > 
> > \> Anybody?
> > 
> > \> Thanks  
> > \> EVMan
> > 
> > There's Tk, Qt, GTK, Fox, Wx, and other more obscure widget sets. Like  
> > WideStudio. If you search through the Ruby Application Archive you can  
> > scope some of these out. As for the best, it depends on your  
> > preferences --- lightweight versus heavyweight, more object oriented  
> > versus more primitive, etc.

---

<div class="post-metadata">

**Author:** ![Phlip1](https://avatars.discourse-cdn.com/v4/letter/p/df788c/32.png) [@Phlip1](https://rubytalk.org/u/Phlip1)\
**Post date:** [9 August 2007 01:43 UTC](https://rubytalk.org/t/ruby-gui/39703/8 "2007-08-09T01:43:13Z")

</div>

> Try on some shoes from \_why! Ultra simple little gui toolkit that  
> seems great for learning.
> 
> [http://code.whytheluckystiff.net/shoes](http://code.whytheluckystiff.net/shoes)

Hmm. Now how to make it work like an iPhone?

... (-;

> **···**
>
> --  
> &nbsp;&nbsp;Phlip  
> &nbsp;&nbsp;[Test Driven Ajax (on Rails) [Book]](http://www.oreilly.com/catalog/9780596510657/)  
> &nbsp;&nbsp;"Test Driven Ajax (on Rails)"  
> &nbsp;&nbsp;assert\_xpath, assert\_javascript, & assert\_ajax
