Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Which GUI library to use?

101 views
Skip to first unread message

MohsinHijazee

unread,
May 9, 2008, 11:43:52 AM5/9/08
to
Hi!
Which GUI library you would recommend to use?

Ruby-GTK or FXRuby?

With respect to:
* Which one is widely use in ruby community?
* Which one is easier?
* Which one is considered more 'rubiysh' by ruby enthusiats. I mean
which one is considered more internal to Ruby?

Regards,
Mohsin

Marc Heiler

unread,
May 9, 2008, 12:16:20 PM5/9/08
to
> Which GUI library you would recommend to use?
> Ruby-GTK or FXRuby?

You gave only two choices :)

> With respect to:
> * Which one is widely use in ruby community?

Difficult to tell. I think ruby-gtk has a slight advantage in this
regard over FXRuby.

> * Which one is easier?

Cant really say. My personal feeling is that FXRuby is easier because
Gtk/gnome really is somewhat large. But then again, both are rather easy
once you understood how signals work.

> * Which one is considered more 'rubiysh' by ruby enthusiats. I mean
> which one is considered more internal to Ruby?

That is somewhat impossible to answer. :/

In general I think it is better to just work and not bother which one is
more "rubyish". Both are actively maintained, it does not so much matter
which one you use IMHO.
--
Posted via http://www.ruby-forum.com/.

Ing. Daniel Manrique

unread,
May 9, 2008, 1:48:58 PM5/9/08
to


Hi,

I've had very good results with WxRuby http://wxruby.rubyforge.org/; It
didn't take long to learn, is NOT very rubyish (basically the C++ APIs
are reimplemented in Ruby), but was very useful for cross-platform
development. So you might want to consider that as a third option.


Alec Ross

unread,
May 9, 2008, 3:59:58 PM5/9/08
to
In message <48248E89...@correo.fca.unam.mx>, Ing. Daniel Manrique
<dman...@correo.fca.unam.mx> writes

That page also mentions wxSugar; a "sweeter, more Ruby-ish API".

HTH
--
Alec Ross

James Britt

unread,
May 9, 2008, 9:38:07 PM5/9/08
to
MohsinHijazee wrote:
> Hi!
> Which GUI library you would recommend to use?
>
> Ruby-GTK or FXRuby?

Neither.

JRuby + Swing + Monkeybars.


--
James Britt

http://www.rubyaz.org - Hacking in the Desert
http://www.jamesbritt.com - Playing with Better Toys

M. Edward (Ed) Borasky

unread,
May 9, 2008, 11:35:36 PM5/9/08
to
MohsinHijazee wrote:
> Hi!
> Which GUI library you would recommend to use?
>
> Ruby-GTK or FXRuby?
>
> With respect to:
> * Which one is widely use in ruby community?

I've never seen any statistics on this. I suspect that there aren't all
that many Ruby GUI applications.

> * Which one is easier?

I think Shoes is probably the easiest to use.

> * Which one is considered more 'rubiysh' by ruby enthusiats. I mean
> which one is considered more internal to Ruby?

They are pretty much all derived from C/C++ toolkits except Ruby/Tk,
which is derived from Perl/Tk, which in turn is derived from Tcl/Tk. I
think Shoes is probably the most "Rubyish" of the bunch. Certainly
wxRuby, QtRuby, FXruby and Ruby-GTK are all layered on top of C/C++
libraries.

Vladimir Konrad

unread,
May 10, 2008, 6:01:03 AM5/10/08
to
> Ruby-GTK or FXRuby?

Both are OK, but it depends on what application you want to write (e.g.
FXRuby has table widget, GTK does not, GTK can do html
widget, not sure about FXRuby)...

Vlad

Joel VanderWerf

unread,
May 10, 2008, 12:48:46 PM5/10/08
to

and Tk has a nice Canvas...

(GTK really doesn't have a Table?)

--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407

Jonathan Hudson

unread,
May 10, 2008, 1:35:42 PM5/10/08
to
On Sat, 10 May 2008 11:48:46 -0500
Joel VanderWerf <vj...@path.berkeley.edu> wrote:

> Vladimir Konrad wrote:
> >> Ruby-GTK or FXRuby?
> >
> > Both are OK, but it depends on what application you want to write (e.g.
> > FXRuby has table widget, GTK does not, GTK can do html
> > widget, not sure about FXRuby)...
>
> and Tk has a nice Canvas...
>
> (GTK really doesn't have a Table?)
>

GTK does have a table.

-jh

Uwe Kubosch

unread,
May 11, 2008, 5:40:41 PM5/11/08
to

Since we're already mentioning other alternatives:

I've had some experience with JRuby + SWT and I must say it is the most
friendly and productive GUI toolkit I've used.

I'm comparing it to Ruby-GTK, JRuby + Swing, JRuby + AWT, JRuby +
Glimmer, Java + AWT, Java + Swing, and Java + SWT :)

I'm currently working with JRuby + SWT + JFace and it looks even better.
We have started a project using Eclipse RCP with most of the business
logic written in JRuby. Looks great so far (5 weeks into the project).


Uwe Kubosch
Norway


Vladimir Konrad

unread,
Jun 8, 2008, 5:43:29 PM6/8/08
to Jonathan Hudson

Sorry for the late reply,


> > and Tk has a nice Canvas...
> >
> > (GTK really doesn't have a Table?)
> >
> GTK does have a table.

Well, one can simulate one using tree-view and list store, but the last
time I needed table header for each line, I had to link movement of 2
tree-views. It is not really a table/spread-sheet widget (unless there
is one in the works in the new gtk version)...

Vlad

0 new messages