Zerenity 0.8

= Zerenity

== Version
0.8

== Author
Farrel L. http://www.lifson.info http://www.aimred.com

== Synopsis
Zerenity is an almost clone of
{Zenity}[http://freshmeat.net/projects/zenity] for Ruby. It allows for
the easy creation of simple graphical dialogs from a Ruby script.

== Features
Zerenity allows for the creation of the following dialogs

  • Date selection
  • Text entry
  • Error display
  • File/directory selection
  • Information display
  • List display and selection
  • Progress display
  • Question display
  • Text information display and editing
  • Warning display

== Dependencies
Zerenity requires {GTK2}[http://www.gtk.org] and
{Ruby/GTK2}[http://ruby-gnome2.sourceforge.jp/hiki.cgi].

== Installation
Zerenity is avaiable as a Ruby gem and gem files can be found at
http://www.aimred.com/files/projects/aimred.

== Example Usage
require ‘rubygems’
require_gem ‘zerenity’

if (name = Zerenity::Entry(:text=>“What is your name?”))
Zerenity::Info(:text=>“Hello #{name}”)
else
Zerenity::Error(:text=>“No name entered)”
end

== Copyright
© 2006 Farrel L.

Zerenity is released under the Ruby license.

== Installation
Zerenity is avaiable as a Ruby gem and gem files can be found at
http://www.aimred.com/files/projects/aimred.

Whoops, make that http://www.aimred.com/files/projects/zerenity

Farrel

Farrel L. wrote:

{Zenity}[http://freshmeat.net/projects/zenity] for Ruby. It allows for

  • Progress display
  • Question display
  • Text information display and editing
  • Warning display

[snip]

Looks cool! Thanks!

== Example Usage
require ‘rubygems’
require_gem ‘zerenity’

if (name = Zerenity::Entry(:text=>“What is your name?”))
Zerenity::Info(:text=>“Hello #{name}”)
else
Zerenity::Error(:text=>“No name entered)”
end

^^ little typo

-Justin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs