From: vasudevram Date: 2007-08-09T01:34:59+09:00 Subject: Re: Ruby GUI redux > EVMan wrote: > > Thanks to all who gave the GUI advice earlier. I think I will start with > > Ruby-Tk, since I am new at Ruby and Tk is a much lighter weight GUI > > builder than some of the others. And, I know Perl-Tk very well. > > > So far there is no Ruby-Tk book and I have been googling for examples. I > > have collected enough to tell that Ruby-Tk works and looks just fine. > > > But... > > I have found lists and examples of the common widgets - buttons, > > listboxes, etc - but they are fairly trivial examples. Each (Perl) TK > > widget has many options and parameters and some have a ton of them. I > > don't know enough Ruby yet to make it obvious how to convert a parameter > > from Perl-Tk to Ruby-Tk. > > > Searching the main Ruby docs I have found the TK classes and libraries, > > but as far as I can tell, the only info they give is the library > > routine(s) that is called. I could trace the calls back and then take the > > called source apart, but I am not into self inflicted pain. > > > Where are Ruby-Tk'ers getting the detailed info on each widget? > > > Thanks again. > > > Evman You could try using some of the Python Tkinter tutorials on the Net and translate to Ruby. There's one from Fredrik Lundh: http://www.pythonware.com/library/tkinter/introduction/ and one from New Mexico Tech: http://www.nmt.edu/tcc/help/pubs/tkinter/ Vasudev Ram Dancing Bison Enterprises Biz site: http://www.dancingbison.com PDF creation/construction toolkit: http://sourceforge.net/projects/xtopdf Blog: http://jugad.livejournal.com