Ruby Programming/GUI Toolkit Modules

< Ruby Programming

Ruby GUI toolkits are typically 3rd party GUI platforms that are driven (wrapped) by a Ruby driver.

Ruby bindings are available for several widget toolkits, among them Tk, Gtk, Fox, and Qt.

QtRuby

Advantages:

Disadvantages:

FXRuby

FXRuby is a Ruby binding for the Fox GUI toolkit written in C++. It is available for installation using RubyGems.

Advantages:

Disadvantages:

Shoes

Shoes was originally written by _why, and is now maintained by others. Its aim is to make ruby GUI development actually fun.

Advantages:

Disadvantages:

Tk

Advantages:

Disadvantages:

Example project: arcadia More information: Tk

GNOME ruby

Advantages:

Disadvantages:

RubyCocoa

Advantages:

Disadvantages:

JRuby toolkits

Swing wrappers

Advantages:

Disadvantages:

Simple GUI creator

This simplifies common tasks like asking for user input, dropdown forms, etc, and even has its own "Text based" layout engine, see here

SWT

This is the eclipse widget library, a competitor to Swing, in the Java world, and can be transparently used from JRuby. RedCar is a project using it that is pretty complete. Glimmer is an open-source JRuby wrapper that facilitates using SWT widgets via a light-weight DSL. Also see: book

Advantages:

Disadvantages:

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.