From: Hidetoshi NAGAI Date: 2007-02-24T07:48:28+09:00 Subject: Re: tcl interface From: Michael Satterwhite Subject: Re: tcl interface Date: Sat, 24 Feb 2007 07:15:18 +0900 Message-ID: > That sounds like it would work. The problem, though, is that I can't > find ANY information on building the Ruby tk interface. The basic library of Tcl/Tk interface on Ruby is 'tcltklib'. Please read 'ext/tk/README.tcltklib' on the source tree. Tk library is required to compile 'tcltklib'. if you succed to make 'tcltklib', you will succeed "require 'tk'". ^^ 'tk' is a higher order library of Tcl/Tk interface. If you want to use Tcl interpreters without Tk, you have to use 'tcltklib' directly. For example, ------------------------------------------------------- require 'tcltklib' ip = TclTkIp.new('', false) ip._invoke('info', 'commands') # or # ip._eval('info commands') ip.mainloop(false) # if you need ------------------------------------------------------- Please see 'ext/tk/MANUAL_tcltklib.eng' also. -- Hidetoshi Nagai (nagai@ai.kyutech.ac.jp)