GUI development under Ruby

I was wondering what people were using for GUI development. I’ve seen a
few posts talking about Tk and gtk2 … I was wondering how easy this is
for someone relatively new to Ruby to jump into and if there were any
others.

I did take a look at FreeRIDE recently … looks nice! I’m impressed
they’re able to get an app. running under Mac OS X, Linux, and Windows
… what was used for this?

Thanks!

Jen

The other big one is ‘FXRuby’ (http://fxruby.sourceforge.net/)
My personal favourite is gtk2.

#include<std_disclaimer.h>
#include<opinions.h>
#define FLAMES 0

I would say that the following 3 are the main choices. This is how I view
them:

Tk

···

On Tue, Apr 01, 2003 at 07:52:38AM +0900, jennyw wrote:

I was wondering what people were using for GUI development. I’ve seen a
few posts talking about Tk and gtk2 … I was wondering how easy this is
for someone relatively new to Ruby to jump into and if there were any
others.

===
Pro: Easiest to use and learn. Multi-platform.
Con: Somewhat ugly and not terribly powerful.

Gtk2

Pro: Modern, powerful and looks great. Semi-multiplatform.
Not hard to use, but there is more to learn than with Tk.
Con: The Windows port is a bit behind I think.

Fox

Pro: Modern, powerful and multi-platrofm.
Con: Looks ugly under Linux. Not so bad under Windows.

My personal favourite is, by far, Gtk2.

There is a RubyCocoa if you are on a Mac.

I did take a look at FreeRIDE recently … looks nice! I’m impressed
they’re able to get an app. running under Mac OS X, Linux, and Windows
… what was used for this?

Fox. :slight_smile:

I hope this helps,

Daniel Carrera
Graduate Teaching Assistant. Math Dept.
University of Maryland. (301) 405-5137

coadunate: coadunate (ko-AJ-uh-nit, -nayt) adjective
United by growth; closely joined.

I was wondering what people were using for GUI development. I’ve seen a
few posts talking about Tk and gtk2 … I was wondering how easy this is
for someone relatively new to Ruby to jump into and if there were any
others.

You should not miss

  • Fox (FXRuby)
  • fltk (ruby-fltk)

But you can get useful info right from here:
http://raa.ruby-lang.org/cat.rhtml?category_major=Library;category_minor=GUI

I did take a look at FreeRIDE recently … looks nice! I’m impressed
they’re able to get an app. running under Mac OS X, Linux, and Windows
… what was used for this?

Fox rox does’nt it ?

···

il Tue, 1 Apr 2003 07:52:38 +0900, jennyw jennyw@dangerousideas.com ha scritto::

Thanks!

Jen

Are there any tutorial web-sites for making some introductory FOX
GUIs using Ruby?
Cheers,
Euan
xlucid@users(.remove this).sf.(antispam.)net

jennyw wrote:

I was wondering what people were using for GUI development. I’ve seen a
few posts talking about Tk and gtk2 … I was wondering how easy this is
for someone relatively new to Ruby to jump into and if there were any
others.

I did take a look at FreeRIDE recently … looks nice! I’m impressed
they’re able to get an app. running under Mac OS X, Linux, and Windows
… what was used for this?

Thanks!

Jen

Mu favourity is Qt. It is a pity that QT extension project does not
seem to be very active. The fact that it supports only Qt2 is
not nice either.

BTW

what about ruby bindings to wxWindows.
Does anyone work on it? If so where can I find it?

Thanks

Tom

···

— jennyw jennyw@dangerousideas.com wrote:

I was wondering what people were using for GUI development. I’ve seen a
few posts talking about Tk and gtk2 … I was wondering how easy this is
for someone relatively new to Ruby to jump into and if there were any
others.

I did take a look at FreeRIDE recently … looks nice! I’m impressed
they’re able to get an app. running under Mac OS X, Linux, and Windows
… what was used for this?

Thanks!

Jen


Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more

Seems to! I looked at the Fox page, though, and it doesn’t list Mac OS X
as a platform it supports … yet FreeRIDE has a screenshot running on
OS X. How did they do that? Did they run it under X11 on the Mac? I was
actually hoping for something that could run on Aqua as well as Win32
and X11.

Thanks!

Jen

···

On Tue, Apr 01, 2003 at 08:19:21AM +0900, gabriele renzi wrote:

I did take a look at FreeRIDE recently … looks nice! I’m impressed
they’re able to get an app. running under Mac OS X, Linux, and Windows
… what was used for this?

Fox rox does’nt it ?

I tried unsuccesfully to install/use QT-swig…

better installation-guide + manual would be nice :slight_smile:

What is status about QT ?

···

On Tue, 01 Apr 2003 18:40:44 +0200, Christian Szegedy wrote:

Mu favourity is Qt. It is a pity that QT extension project does not
seem to be very active. The fact that it supports only Qt2 is
not nice either.


Simon Strandgaard

I don’t think that exists yet. There is a project to port Gtk1 to Aqua.
It’s fairly close, but won’t be done for a few months I think (and it’s
gtk1, not 2).

If you are going for something that looks native:

Ruby-GNOME2 looks native under Linux.
Ruby-Cocoa looks native under 0S X
FXRuby looks sort of native under Windows (I think it looks fine).

···

On Tue, Apr 01, 2003 at 08:40:41AM +0900, jennyw wrote:

I was actually hoping for something that could run on Aqua as well as
Win32 and X11.


Daniel Carrera
Graduate Teaching Assistant. Math Dept.
University of Maryland. (301) 405-5137

coadunate: coadunate (ko-AJ-uh-nit, -nayt) adjective
United by growth; closely joined.

Yes

···

On Tuesday, 1 April 2003 at 8:40:41 +0900, jennyw wrote:

Seems to! I looked at the Fox page, though, and it doesn’t list Mac OS X
as a platform it supports … yet FreeRIDE has a screenshot running on
OS X. How did they do that? Did they run it under X11 on the Mac? I was


Jim Freeze

Some programming languages manage to absorb change, but withstand
progress.
– Epigrams in Programming, ACM SIGPLAN Sept. 1982