hi , thanks for the reply.
I din't know this .
Is there a way to open a popup using ruby?
Cheerio,
Arvin
Yes, but how you do it depends on what 'platform' you're working with.
If you're platform is the web, then I'm sure there are many, many ways,
but I don't know them 'cause that's not what I use Ruby for. I'm sure
other could help you out there.
If you're doing a desktop application, there are numerous ways to do it.
They range from simple, lightweight systems like Shoes [1] to full
fledged GUI toolkits like WxRuby [2] or Ruby-GNOME [3], and plenty of
more specialized ones like Gosu [4] (which is game-design oriented).
Some alternative interpreters like JRuby [5] and MacRuby [6] provide
their own methods for making windows, appropriate to the platforms they
are targeting (the JVM and the OS X Objective-C runtime, respectively).
It's hard for me to make a recommendation on one of these, as I've only
used a few of them (and there are others I haven't listed, besides). If
you're just playing around, Shoes is a great place to start. Otherwise,
it might help to have more information about what sort of 'popup' you're
trying to make.
Hope this helps,
- Adam
[1]
http://shoooes.net/
[2]
http://wxruby.rubyforge.org/wiki/wiki.pl
[3]
http://ruby-gnome.sourceforge.net/
[4]
http://libgosu.org/
[5]
http://jruby.codehaus.org/
[6]
http://www.macruby.org/trac/wiki/MacRuby