[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Recommendation for Simple GUI Development

billbell52

1/26/2007 2:12:00 AM

I am looking for a quick easy GUI development capability that runs on
both Windows and Linux. Today, I am using Excel's VBA to create a GUI
and using that to control running the Ruby scipts. It is a simple 20
minute job to create a GUI to control different Ruby scripts and I use
Excel to report back results. I would like to have the same solution
that runs on Linux and Windows. I thought I would use QT4 from
Trolltech. They have a nice GUI development environment that allows
you to quickly develop a GUI but I cannot find any Ruby GEM that binds
QT4 to Ruby on the PC - so no go. I looked at some other solutions but
all of the them seem to required a lot of development time to create
the GUI.

I need widgets like a tabbed panel, listbox, combobox, optionbox,
checkbox, textbox

Any other recommendations?

6 Answers

M. Edward (Ed) Borasky

1/26/2007 3:35:00 AM

0

billbell52 wrote:
> I am looking for a quick easy GUI development capability that runs on
> both Windows and Linux. Today, I am using Excel's VBA to create a GUI
> and using that to control running the Ruby scipts. It is a simple 20
> minute job to create a GUI to control different Ruby scripts and I use
> Excel to report back results. I would like to have the same solution
> that runs on Linux and Windows. I thought I would use QT4 from
> Trolltech. They have a nice GUI development environment that allows
> you to quickly develop a GUI but I cannot find any Ruby GEM that binds
> QT4 to Ruby on the PC - so no go. I looked at some other solutions but
> all of the them seem to required a lot of development time to create
> the GUI.
>
> I need widgets like a tabbed panel, listbox, combobox, optionbox,
> checkbox, textbox
>
> Any other recommendations?
>
Given the requirement for both Windows and Linux and relatively seamless
development, my recommendation is to use Ruby/Tk. It's portable, easily
obtained for both Windows and Linux and comes with lots of examples. You
might also want to have a look at the Komodo Editor. I know the full
Komodo package comes with nice integration for Tk, especially
ActiveState Tcl/Tk on Windows, but I don't know if the free as in beer
editor has all that. If you have the budget, get a full Komodo license
to develop with on your Windows box and use the Linux editor to test on
Linux.

I thought the Ruby bindings for Qt4 were in pretty good shape on both
Windows and Linux. Can someone here comment on the status? I'd hate to
see you abandon Qt4; it's really a first-class GUI platform and the
widgets look and feel much better than the Tk ones.

--
M. Edward (Ed) Borasky, FBG, AB, PTA, PGS, MS, MNLP, NST, ACMC(P)
http://borasky-research.blo...

If God had meant for carrots to be eaten cooked, He would have given rabbits fire.


Trans

1/26/2007 4:44:00 AM

0



On Jan 25, 9:15 pm, "billbell52" <b...@ti.com> wrote:
> I am looking for a quick easy GUI development capability that runs on
> both Windows and Linux. Today, I am using Excel's VBA to create a GUI
> and using that to control running the Ruby scipts. It is a simple 20
> minute job to create a GUI to control different Ruby scripts and I use
> Excel to report back results. I would like to have the same solution
> that runs on Linux and Windows. I thought I would use QT4 from
> Trolltech. They have a nice GUI development environment that allows
> you to quickly develop a GUI but I cannot find any Ruby GEM that binds
> QT4 to Ruby on the PC - so no go. I looked at some other solutions but
> all of the them seem to required a lot of development time to create
> the GUI.
>
> I need widgets like a tabbed panel, listbox, combobox, optionbox,
> checkbox, textbox
>
> Any other recommendations?

If your needs do not require advanced graphic requirements, the best
course of action is to write a servlet accessed via the browser -- an
HTML GUI. It's easy enough for a script tostart the servlet and launche
the users prefered browser accessing it in one shot. With a little more
cleverness one can even deacivate bowser menus and toolbars even --it
would be hard to tell such a browser window from any other GUI app.

T.


Farrel Lifson

1/26/2007 7:03:00 AM

0

On 26/01/07, billbell52 <billb@ti.com> wrote:
> I am looking for a quick easy GUI development capability that runs on
> both Windows and Linux. Today, I am using Excel's VBA to create a GUI
> and using that to control running the Ruby scipts. It is a simple 20
> minute job to create a GUI to control different Ruby scripts and I use
> Excel to report back results. I would like to have the same solution
> that runs on Linux and Windows. I thought I would use QT4 from
> Trolltech. They have a nice GUI development environment that allows
> you to quickly develop a GUI but I cannot find any Ruby GEM that binds
> QT4 to Ruby on the PC - so no go. I looked at some other solutions but
> all of the them seem to required a lot of development time to create
> the GUI.
>
> I need widgets like a tabbed panel, listbox, combobox, optionbox,
> checkbox, textbox
>
> Any other recommendations?
>
>
>

FoxGUIB - http://fox-tool.ruby.... It let's you build a FOX
based GUI and it's written in Ruby. It works for me on Windows,
haven't tried it on Linux.

Farrel

Meinrad Recheis

1/26/2007 11:24:00 AM

0

On 1/26/07, Farrel Lifson <farrel.lifson@gmail.com> wrote:
> On 26/01/07, billbell52 <billb@ti.com> wrote:
> > I am looking for a quick easy GUI development capability that runs on
> > both Windows and Linux. Today, I am using Excel's VBA to create a GUI
> > and using that to control running the Ruby scipts. It is a simple 20
> > minute job to create a GUI to control different Ruby scripts and I use
> > Excel to report back results. I would like to have the same solution
> > that runs on Linux and Windows. I thought I would use QT4 from
> > Trolltech. They have a nice GUI development environment that allows
> > you to quickly develop a GUI but I cannot find any Ruby GEM that binds
> > QT4 to Ruby on the PC - so no go. I looked at some other solutions but
> > all of the them seem to required a lot of development time to create
> > the GUI.
> >
> > I need widgets like a tabbed panel, listbox, combobox, optionbox,
> > checkbox, textbox
> >
> > Any other recommendations?
> >
> >
> >
>
> FoxGUIB - http://fox-tool.ruby.... It let's you build a FOX
> based GUI and it's written in Ruby. It works for me on Windows,
> haven't tried it on Linux.
>
> Farrel
>
>
foxGUIb is a quick and simple way of creating fxruby gui code. fxruby
/ fox has all the things you need, but the look and feel is very rigid
and windows 2000 like.
annother possibility is the excellent Java Swing Toolkit. but then you
need to go with JRuby.

-- henon (author of foxGUIb)

M. Edward (Ed) Borasky

1/26/2007 2:15:00 PM

0

Meinrad Recheis wrote:
> On 1/26/07, Farrel Lifson <farrel.lifson@gmail.com> wrote:
>> On 26/01/07, billbell52 <billb@ti.com> wrote:
>> > I am looking for a quick easy GUI development capability that runs on
>> > both Windows and Linux. Today, I am using Excel's VBA to create a GUI
>> > and using that to control running the Ruby scipts. It is a simple 20
>> > minute job to create a GUI to control different Ruby scripts and I use
>> > Excel to report back results. I would like to have the same solution
>> > that runs on Linux and Windows. I thought I would use QT4 from
>> > Trolltech. They have a nice GUI development environment that allows
>> > you to quickly develop a GUI but I cannot find any Ruby GEM that binds
>> > QT4 to Ruby on the PC - so no go. I looked at some other solutions
>> but
>> > all of the them seem to required a lot of development time to create
>> > the GUI.
>> >
>> > I need widgets like a tabbed panel, listbox, combobox, optionbox,
>> > checkbox, textbox
>> >
>> > Any other recommendations?
>> >
>> >
>> >
>>
>> FoxGUIB - http://fox-tool.ruby.... It let's you build a FOX
>> based GUI and it's written in Ruby. It works for me on Windows,
>> haven't tried it on Linux.
>>
>> Farrel
>>
>>
> foxGUIb is a quick and simple way of creating fxruby gui code. fxruby
> / fox has all the things you need, but the look and feel is very rigid
> and windows 2000 like.
Given that they are on Windows 98, wouldn't a Windows 2000 look and feel
be a step forward? :)

--
M. Edward (Ed) Borasky, FBG, AB, PTA, PGS, MS, MNLP, NST, ACMC(P)
http://borasky-research.blo...

If God had meant for carrots to be eaten cooked, He would have given rabbits fire.


M. Edward (Ed) Borasky

1/26/2007 2:17:00 PM

0

Johan Veenstra wrote:
> On 1/26/07, billbell52 <billb@ti.com> wrote:
>>
>> I thought I would use QT4 from
>> Trolltech. They have a nice GUI development environment that allows
>> you to quickly develop a GUI but I cannot find any Ruby GEM that binds
>> QT4 to Ruby on the PC - so no go.
>
>
> http://rubyforge.org/projects...
>
Korundum runs on Windows??

--
M. Edward (Ed) Borasky, FBG, AB, PTA, PGS, MS, MNLP, NST, ACMC(P)
http://borasky-research.blo...

If God had meant for carrots to be eaten cooked, He would have given rabbits fire.