Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
[ANN] Zerenity 0.8
Farrel Lifson
7/13/2006 11:19:00 PM
= Zerenity
== Version
0.8
== Author
Farrel Lifson
http://www.l...
http://www....
== Synopsis
Zerenity is an almost clone of
{Zenity}[
http://freshmeat.net/proje...
] 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://w...
] and
{Ruby/GTK2}[
http://ruby-gnome2.sourceforge.j...
].
== Installation
Zerenity is avaiable as a Ruby gem and gem files can be found at
http://www....
/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
(c) 2006 Farrel Lifson
Zerenity is released under the Ruby license.
2 Answers
Farrel Lifson
7/13/2006 11:22:00 PM
0
> == Installation
> Zerenity is avaiable as a Ruby gem and gem files can be found at
>
http://www.aimred.com/files/proje...
.
Whoops, make that
http://www.aimred.com/files/project...
Farrel
Justin Collins
7/14/2006
0
Farrel Lifson wrote:
> = Zerenity
>
> == Version
> 0.8
>
> == Author
> Farrel Lifson
http://www.l...
http://www....
>
> == Synopsis
> Zerenity is an almost clone of
> {Zenity}[
http://freshmeat.net/proje...
] 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
>
> [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
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
[ANN] Zerenity 0.8
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password