On Tue, 11 Jan 2005 00:49:46 +0900, you wrote:

>However, you must decide how to get information from your GUI. 

all i need to do is process tk buttons (which button was clicked) ,
and get the text from a text widget...

>irb(main):001:0> Tk.load_tclscript('rolodex')

i just tried a loading a test.tcl via irb and it ran ok...

the following didn't work though,  in it's own file:

require 'tk' 
Tk.load_tclscript('test.tcl')

i get:

test.rb:3: undefined method `load_tclscript' for Tk:Module
(NoMethodError)

what's interesting is that a ruby application can have ruby or tcl as
a scripting language....
http://home.cogeco.ca/~tsummerfelt1
telnet://ventedspleen.dyndns.org