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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Cf63da956b6ba955687a2f2f262928cb?d=identicon&s=25 Mmcolli00 Mom (mmcolli00)
on 2008-12-11 18:10
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
87349a7a95b3f2e83c20194ef122885c?d=identicon&s=25 Einar Magnús Boson (Guest)
on 2008-12-11 18:52
(Received via mailing list)
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
Ae16cb4f6d78e485b04ce1e821592ae5?d=identicon&s=25 Martin DeMello (Guest)
on 2008-12-11 19:04
(Received via mailing list)
On Thu, Dec 11, 2008 at 10:33 PM, Mmcolli00 Mom <mmc_collins@yahoo.com>
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
Cf63da956b6ba955687a2f2f262928cb?d=identicon&s=25 Mmcolli00 Mom (mmcolli00)
on 2008-12-11 22:26
I think the Zerenity looks good. Thanks.
47b1910084592eb77a032bc7d8d1a84e?d=identicon&s=25 Joel VanderWerf (Guest)
on 2008-12-12 00:49
(Received via mailing list)
Martin DeMello wrote:
> On Thu, Dec 11, 2008 at 10:33 PM, Mmcolli00 Mom <mmc_collins@yahoo.com> 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.)
753dcb78b3a3651127665da4bed3c782?d=identicon&s=25 Brian Candler (candlerb)
on 2008-12-12 13:05
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)
8cd4ce8c76860f91925830e004391b9e?d=identicon&s=25 David Palacio (Guest)
on 2008-12-12 18:13
(Received via mailing list)
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 <mmc_collins@yahoo.com>
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.
This topic is locked and can not be replied to.