Ruby GUI with IDE

J

Josh Mr.

Hello all,

I am currently looking for a good easy to use IDE that includes GUI
development as well. Something like how C++ has DevC++ that suppots
wxWidgets and allows you to code and create frames at the same time. I
want something like this for Ruby. I have found VisualWx which supports
Ruby but I could not seem to get it to work at all. Right now I'm having
to develop my frame using Farpy (http://farpy.holev.com/), export it,
and then add any additional code in another IDE. This slows down the
process by a lot because any changes I make to the GUI forces me to
export it again and manually make the changes to my original source.

So, my question is what's a good GUI toolkit that has a really nice IDE
that supports Ruby?

Cheers,
~ Josh
 
M

M. Edward (Ed) Borasky

Josh said:
Hello all,

I am currently looking for a good easy to use IDE that includes GUI
development as well. Something like how C++ has DevC++ that suppots
wxWidgets and allows you to code and create frames at the same time. I
want something like this for Ruby. I have found VisualWx which supports
Ruby but I could not seem to get it to work at all. Right now I'm having
to develop my frame using Farpy (http://farpy.holev.com/), export it,
and then add any additional code in another IDE. This slows down the
process by a lot because any changes I make to the GUI forces me to
export it again and manually make the changes to my original source.

So, my question is what's a good GUI toolkit that has a really nice IDE
that supports Ruby?

Cheers,
~ Josh
This should be a FAQ. :) There are quite a few -- my favorite (on Linux)
is Kommander/Korundum/QTRuby.
 
A

AliasX Neo

M. Edward (Ed) Borasky said:
This should be a FAQ. :) There are quite a few -- my favorite (on Linux)
is Kommander/Korundum/QTRuby.


--

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

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

I'm running Windows, any good ones for that?
 
D

David Vallner

--------------enig00D162D28BF5E7B0E8394D29
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

AliasX said:
=20
I'm running Windows, any good ones for that?
=20

The short answer: no.

The long answer:

If you manage to port qtruby4 to Windows, you get QtDesigner (overall
Qt4 seems to be designed to have the GUI layout created in that,
decoupling the UI design and behaviour implementations.) Things like
rubyuic should work the same on all platforms.

Another hope is the wx rewrite getting into a stable state, and wxGlade
supporting emitting of Ruby code. This is however just speculation.

Personally, if you need to do this sort of GUI development on Windows,
Ruby is so far rough around the edges.

David Vallner


--------------enig00D162D28BF5E7B0E8394D29
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFViaRy6MhrS8astoRAlUBAJ0cIesP071ifCd4sarjsdxs1Z8OBgCeJsLr
7qdz+xCBeiqHHJZRfsfRvKg=
=aSmP
-----END PGP SIGNATURE-----

--------------enig00D162D28BF5E7B0E8394D29--
 
A

AliasX Neo

David said:
The short answer: no.

The long answer:

If you manage to port qtruby4 to Windows, you get QtDesigner (overall
Qt4 seems to be designed to have the GUI layout created in that,
decoupling the UI design and behaviour implementations.) Things like
rubyuic should work the same on all platforms.

Another hope is the wx rewrite getting into a stable state, and wxGlade
supporting emitting of Ruby code. This is however just speculation.

Personally, if you need to do this sort of GUI development on Windows,
Ruby is so far rough around the edges.

David Vallner

That's what I figured, I guess I'm going to have to stick to ugly
command line programs.

Thanks anyways.
 
M

M. Edward (Ed) Borasky

David said:
The short answer: no.

The long answer:

If you manage to port qtruby4 to Windows, you get QtDesigner (overall
Qt4 seems to be designed to have the GUI layout created in that,
decoupling the UI design and behaviour implementations.) Things like
rubyuic should work the same on all platforms.
IIRC Caleb Tennis posted some encouraging words on this a couple of
weeks ago. I don't do Windows development, so I haven't even attempted
to make this work.
Another hope is the wx rewrite getting into a stable state, and wxGlade
supporting emitting of Ruby code. This is however just speculation.

Personally, if you need to do this sort of GUI development on Windows,
Ruby is so far rough around the edges.
Well, there's always CygWin <ducking>

But seriously, both the One-Click Installer and Instant Rails contain
FreeRide and the dependencies FXRuby and Fox. If you don't mind spending
some money, some combination of the ActiveState tool set (ActiveTcl,
Komodo 4, etc.) and the One-Click Installer or Instant Rails ought to be
workable. So should the Sapphire In Steel IDE that hooks into Visual
Studio. I don't know what shape the various Ruby/CLR projects are in, so
I can't comment on them. jRuby 1.0 will probably be better than any of
them, but I don't know how long it will be till that release.
 
A

AliasX Neo

Well said:
But seriously, both the One-Click Installer and Instant Rails contain
FreeRide and the dependencies FXRuby and Fox. If you don't mind spending
some money, some combination of the ActiveState tool set (ActiveTcl,
Komodo 4, etc.) and the One-Click Installer or Instant Rails ought to be
workable. So should the Sapphire In Steel IDE that hooks into Visual
Studio. I don't know what shape the various Ruby/CLR projects are in, so
I can't comment on them. jRuby 1.0 will probably be better than any of
them, but I don't know how long it will be till that release.

You lost me there with the combination of ActiveState tools.
 
D

David Vallner

--------------enig829E05CBFA9827711E29C7DE
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

AliasX said:
You lost me there with the combination of ActiveState tools.
=20

ActiveState Komodo supports targetting Ruby/Tk from its GUI builder, it
seems.

It's just that... Well... Ugh, Tk. <ducking yet faster>

David Vallner


--------------enig829E05CBFA9827711E29C7DE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFVj6Zy6MhrS8astoRAvjyAJ4uXwj2OyKNNX6EUtfN+aXfPHzhlQCfTEQc
59HFg6IlA0mxOa8hjJtWbX4=
=CV8Z
-----END PGP SIGNATURE-----

--------------enig829E05CBFA9827711E29C7DE--
 
A

AliasX Neo

David said:
ActiveState Komodo supports targetting Ruby/Tk from its GUI builder, it
seems.

It's just that... Well... Ugh, Tk. <ducking yet faster>

David Vallner

I wasn't aware it has a GUI builder. I have ActiveState Komodo 3.5
installed on my computer right now. Is there some extension I need?
 
C

Caleb Tennis

IIRC Caleb Tennis posted some encouraging words on this a couple of
weeks ago. I don't do Windows development, so I haven't even
attempted to make this work.

The word on the street is that it works, with a little coercion. It
sounds like the biggest issue is the build system, which was designed
for *nix.

I haven't verified because I'm not familiar with Windows development
and am too covered up to go down that path. I think Richard's in the
same boat.

We just need someone to figure out what needs to be done and tidy up
the process. :)

Caleb
 
A

AliasX Neo

So I guess a better format for my original question should be:

Windows users, what do you do to develop GUI's for Ruby?
 
D

David Vallner

--------------enig5B64BC891453E56F7C093952
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

AliasX said:
Windows users, what do you do to develop GUI's for Ruby?
=20

Handcode / use Python.

David Vallner


--------------enig5B64BC891453E56F7C093952
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFVk8ey6MhrS8astoRApxwAJ9CqJXcXVuE8mn1Mvi6LEZh+owsPACePvmR
b2aM/+7RW6AtVqqWkxnWzUY=
=VO4W
-----END PGP SIGNATURE-----

--------------enig5B64BC891453E56F7C093952--
 
M

M. Edward (Ed) Borasky

David said:
Handcode / use Python.

David Vallner
Use commercial Microsoft tools, just like they teach you about in the
Microsoft Certification courses

<ducking>
 
M

M. Edward (Ed) Borasky

AliasX said:
I wasn't aware it has a GUI builder. I have ActiveState Komodo 3.5
installed on my computer right now. Is there some extension I need?
Try the Komodo 4 beta.
 
D

David Vallner

--------------enig3674A48501E1387F3429F9B0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

M. Edward (Ed) Borasky said:
Use commercial Microsoft tools, just like they teach you about in the
Microsoft Certification courses
=20
<ducking>
=20

You're evil. So very evil.

(And unfortunately right. MSVS+VB6 by far holds the record in
approachable RAD GUIs. Of abysmal quality, but oh, the quantity and
sheer scope of people making them.)

David Vallner


--------------enig3674A48501E1387F3429F9B0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFVmm/y6MhrS8astoRAiDwAJ0cv5TqvxYt1OD2EO0ysOSWIs7oEQCeP4jS
Viif4vkyHAeIs/gC9Cws34c=
=Gf4x
-----END PGP SIGNATURE-----

--------------enig3674A48501E1387F3429F9B0--
 
M

M. Edward (Ed) Borasky

David said:
You're evil. So very evil.

(And unfortunately right. MSVS+VB6 by far holds the record in
approachable RAD GUIs. Of abysmal quality, but oh, the quantity and
sheer scope of people making them.)

David Vallner
But a QTDesigner GUI is a lot prettier than the ones I've seen come out
of VBA, Even a Tcl/Tk GUI looks better than most of the VBA default
dialog boxes.
 
D

David Vallner

--------------enig944C462694D0799568282E7C
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

M. Edward (Ed) Borasky said:
But a QTDesigner GUI is a lot prettier than the ones I've seen come out=
of VBA, Even a Tcl/Tk GUI looks better than most of the VBA default
dialog boxes.
=20

Well, I never said they looked pretty. Just did the job, for given
values of the term, for amazing numbers of people. (Who coincidentally
weren't their own users. Explains a lot.)

VBA =3D managers. Managers =3D control freaks. I'm forced to use a hacked=

version of Windows XP on my work laptop. Nothing says "I hate my users"
like an always-on-top, unmovable popup asking you if you want to reboot
your computer for updates now or in 30 minutes. With pixel-positioned
controls, unresizable, taking up 1/9 of the screen in the middle.

(The flamewar on whether to empower users that are Unqualified and Proud
Of It to be able to create things to be imposed on others is old, very
old. The fact that given any number of assistive tools and sensible
defaults they will do it in the worst way possible anyway well-known :p)

David Vallner


--------------enig944C462694D0799568282E7C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFVoFXy6MhrS8astoRAmGeAJ9PW2DCme2sr1aLevBIGP3/aLvSXgCZAYG/
Vc6BZlVMQcrr+SdB8K0sZc4=
=5636
-----END PGP SIGNATURE-----

--------------enig944C462694D0799568282E7C--
 
L

Leslie Viljoen

You're evil. So very evil.

(And unfortunately right. MSVS+VB6 by far holds the record in
approachable RAD GUIs. Of abysmal quality, but oh, the quantity and
sheer scope of people making them.)

I think Visual Studio 2005 is great. Controls on forms are pixel
positioned, but you can anchor any side so that they can be resized,
and it's a quick thing to set minimum and maximum sizes. If you anchor
opposite sides, the control resizes itself as its container resizes.
It's very easy to design and seems to work well. I could never get
used to the pain of the X-Windows way, with inserting all kinds of
sizers and spacers that don't seem to need to be there. What is the
advantage over the MS way?

--
Man's unfailing capacity to believe what he prefers to be true rather
than what the evidence shows to be likely and possible has always
astounded me. We long for a caring Universe which will save us from
our childish mistakes, and in the face of mountains of evidence to the
contrary we will pin all our hopes on the slimmest of doubts. God has
not been proven not to exist, therefore he must exist.

- Prokhor Zakharov
 
L

Leslie Viljoen

It has been a pleasure reading your posts, RIP ;)

But I agree with what you have said before (this sentence can be applied
once only!).

There should be a FAQ, and yes I volunteer to work on it!!!!, and if there
was a FAQ this should be one of the leading issues.

But maybe there is a FAQ? Never seen any ref to it, though.

Cheers
Robert

--


--
The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all progress
depends on the unreasonable man.

- George Bernard Shaw

There are some wiki pages you might want to overhaul or add to:

http://en.wikibooks.org/wiki/Ruby_programming_language
http://www.trug.ca/Ruby_GUI_Toolkits/archive_of_crap

..I think I have seen more.

Then the next time someone asks this question, everyone should just go
to the best wiki page, add their comments there, and point the poster
to the page.

Can we agree on a good place to put such info? Perhaps a page at Ruby Garden?


Les
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top