CSC/ECE 517 Fall 2010/ch1 S10 GP: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


= Overview =
= Overview =
[[Image:Toolkit-classification.jpg]]
== Standard inbuilt Toolkit library ==
== Standard inbuilt Toolkit library ==
The 'Tk' library is provided along with the standard Ruby distribution. It is well-suited for cross-platform application development.
The 'Tk' library is provided along with the standard Ruby distribution. It is well-suited for cross-platform application development.

Revision as of 07:03, 8 September 2010

GUI Toolkits for Ruby

Traditionally, Ruby is a command line tool. Most Ruby commands are entered as text in a terminal and provide output to the user in the text form. Actually, the Ruby interpretor is not binded to any program development environment. Ruby programs can be typed in any editor and there are a lot of libraries to provide Graphical User Interface (GUI). This article discusses various GUI toolkits for Ruby, right from traditional to the most popular toolkits.

Introduction

Overview

Standard inbuilt Toolkit library

The 'Tk' library is provided along with the standard Ruby distribution. It is well-suited for cross-platform application development.

Thirdparty Toolkits

There are a lot number of toolkit libraries for Ruby provided by third-party vendors. Mostly these are wrappers around toolkits written in C and C++. Many of these toolkits may not support cross-platform application development.

Ruby Exclusive Toolkit

Shoes is a library implemented exclusively for Ruby. It is one of the most popular toolkits for Ruby.

Recent libraries associated with the development environment

Recent Ruby implementations have their own GUI facilities provided by toolkits associated with the environment. Some of them are Cocoa for MacRuby and Swing for JRuby.

Summary

Conclusion