Geo
Geo

Reputation: 96797

What is Ruby's default GUI framework?

If I remember correctly Python ships with Tk as it's standard framework. What's Ruby's default?

Upvotes: 1

Views: 1400

Answers (4)

varro
varro

Reputation: 2482

The answer previously accepted is now obsolete. Tk no longer comes automatically with Ruby, but must be installed as a gem. There is now no default GUI for Ruby.

Upvotes: 2

davidbe
davidbe

Reputation: 850

There are quiet a few libraries. Most known are: - tk (as mentioned earlier: http://www.rubycentral.com/pickaxe/ext%5Ftk.html) - gtk (http://ruby-gnome2.sourceforge.jp/) - fxruby (as mentioned earlier: http://www.fxruby.org/) - qt (http://techbase.kde.org/Development/Languages/Ruby)

Shoes doesn't deliver a gui library. It is more like a cross-platform framework to build light-weight gui-applications. On linux it uses gtk-libraries.

There's a nice framework for building gui-applications: Rugui (http://rugui.org/). It is a framework for bigger applications and it copies the Ruby On Rails way of working. It supports an MVC design, gui & qt and Rspec & TestUnit. Worth looking at!

Upvotes: 2

ennuikiller
ennuikiller

Reputation: 46965

Ruby ships with the tk libraries. Also available are fxruby

is quite popular and shoes was gaining some momentum until the authors mysterious disappearence. Of course there are Qt libraries available as well.

Upvotes: 3

Evan Meagher
Evan Meagher

Reputation: 4555

Ruby uses Tk as well.

Upvotes: 3

Related Questions