User Prompt as a pop up - not IRB/command line?


#1

Has anyone heard of Ruby containing a popup window prompt for users? I
do not want to use IRB command prompt for my users. If you have heard of
this or are using it, what is it called/ how are you using this? Thanks.
MC


#2

On 11.12.2008, at 17:03 , Mmcolli00 Mom wrote:

Has anyone heard of Ruby containing a popup window prompt for users? I
do not want to use IRB command prompt for my users. If you have
heard of
this or are using it, what is it called/ how are you using this?
Thanks.
MC

Posted via http://www.ruby-forum.com/.

There are several approaches, for simple things these seem good to me:

http://www.shoooes.net
http://cocoadialog.sourceforge.net/

einarmagnus


#3

On Thu, Dec 11, 2008 at 10:33 PM, Mmcolli00 Mom removed_email_address@domain.invalid
wrote:

Has anyone heard of Ruby containing a popup window prompt for users? I
do not want to use IRB command prompt for my users. If you have heard of
this or are using it, what is it called/ how are you using this? Thanks.

There are various options - check out zerenity, for instance

http://code.google.com/p/zerenity/

martin


#4

I think the Zerenity looks good. Thanks.


#5

Martin DeMello wrote:

On Thu, Dec 11, 2008 at 10:33 PM, Mmcolli00 Mom removed_email_address@domain.invalid wrote:

Has anyone heard of Ruby containing a popup window prompt for users? I
do not want to use IRB command prompt for my users. If you have heard of
this or are using it, what is it called/ how are you using this? Thanks.

There are various options - check out zerenity, for instance

http://code.google.com/p/zerenity/

martin

Or kdialog if you are in kde.

http://rubyforge.org/projects/kdialog/

Looks like an unmaintained project though. (Never used it myself.)


#6

Other options:

  • old-fashioned tk

  • run as a daemon, and have users point their web browser at localhost.
    Then you can build your app using a web framework (from something as
    simple as sinatra to something as big and powerful as rails; there are
    lots of other options in between)


#7

On Thursday 11 December 2008 18:42:26 Joel VanderWerf wrote:

Martin DeMello wrote:

On Thu, Dec 11, 2008 at 10:33 PM, Mmcolli00 Mom removed_email_address@domain.invalid
wrote:
Or kdialog if you are in kde.

http://rubyforge.org/projects/kdialog/

Looks like an unmaintained project though. (Never used it myself.)
If it is KDE, you can use the kdialog command line program or the
KDE::Dialog
class in Korundum.