From: Martin Boese Date: 2007-03-03T22:00:23+09:00 Subject: Re: Gui Builders for Ruby Have a look at Glade (ruby-libglade2). With glade you can draw your GUI and produce an xml file. Your ruby program then loads it and connect code to the handlers. That should faily divorce the gui and logic but I think you are limited to GTK+ and Gnome elements and I am unsure how portable an application can be. Here are some examples: http://ruby-gnome2.sourceforge.jp/hiki.cgi?Samples ...and this is a very nice program using it: http://www.grism.org/ martin On Friday 02 March 2007 19:11, Kyle Schmitt wrote: > This maybe a bit off topic, and is really more of a discussion question > but... > > Are there GUI builders for Ruby that allow one to truly divorce the > GUI from the logic? Reading the tutorials for the GUI toolkits, and > the tutorial for foxguib, it appears the idea is make you GUI, then > have your classes inherit the GUI class. Or worse, embed the GUI code > directly into your classes. > > I suppose one good question would be the _right_ way to to make GUIs > for ruby scripts. Really just inheriting the GUI class, making a > separate gui and worker object and glue code between them? > > Admittedly I maybe looking at these tookits a bit naively as I'm just > now writing some front ends to my utility scripts that use on a day in > and day out basis. > > Thanks for any suggestions or comments. > --Kyle