From: Jonathan Hudson Date: 2007-11-18T21:50:00+09:00 Subject: Re: GUI and ruby On Sun, 18 Nov 2007 04:18:32 -0800 (PST) FireAphis wrote: > On Nov 18, 2:06 pm, Thomas Adam wrote: > > Hello -- > > > > On 18/11/2007, Jonathan Hudson wrote: > > > > > Glade. Ruby + Gtk2 + glade make UIs a breeze. > > > > I don't mind Tk -- that has the advantage of being in the core, too. > > > > -- Thomas Adam > > Yeah. Actually that is its biggest advantage. You have to download a > bunch of libraries from different sources to make Gtk2 run with ruby. > It took me a while to configure all the components correctly (well, in > my case I needed some more libraries than usually required). Tk on the > other hand is already there, ready to be used. If your GUI is small > and practical Tk is excellent. > apt-get ruby-gnome (ubuntu et al) pkg_add -r ruby18-gnome2-all.tgz (FreeBSD) wget / unzip http://ruby-gnome2.sourceforge.jp/?News_20070212_1#Same+as+ruby-gtk2-0.16.0-1-i386-msvcrt-1.8.zip (win32) wget / dpkg -i http://maemo.rubyx.co.uk/ruby-maemo/Packages/maemo3/armel/ruby1.8-maemo_0.3.0-1_maemo3_armel.deb (maemo / Nokia N800 / N810) Granted it's possibly somewhat harder for OSX, partially due to the old GTK installed by default. OTOH, one time I tried to track down all the Tk dependencies for Win32 .... maybe that's also fixed now. Anyway, personal prejudices aside, there's a pretty good comparison of UI toolkits at -jonathan