From: Hidetoshi NAGAI Date: 2005-05-08T23:54:47+09:00 Subject: Re: another Tk question From: Joe Van Dyk Subject: Re: another Tk question Date: Sat, 7 May 2005 08:54:49 +0900 Message-ID: > I can't find ext/tk/lib/tkextlib/SUPPORT_STATUS in Ruby's snapshot. Which version of Ruby do you use? "Tcl/Tk extensions support" was introduced into Ruby-1.8.2. Please use the latest CVS version of Ruby/Tk. > And I'm not able to run the samples in the tkextlib directory for some > reason (complains about not finding tcltklib or something). Tcl/Tk extensions (e.g. TkTable) are not Tcl/Tk's standard libraries. To use them, they must be installed on your Tcl/Tk environment. # If use "ActiveTcl package", TkTable extension is already included. If your Tcl/Tk can load an extension, Ruby/Tk can use the power of the extension (however, sometimes needs to add the library path for the extension to Tk::AUTO_PATH). Libraries under 'tkextlib' directory are wrapper libraries for Tcl/Tk extensions. Even if there is no wrapper library, the extensions can be controlled with some methods such like as Tk.tk_call(). -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)