Joe Van Dyk
5/8/2005 10:15:00 PM
On 5/8/05, Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> wrote:
> From: Joe Van Dyk <joevandyk@gmail.com>
> Subject: Re: another Tk question
> Date: Sat, 7 May 2005 08:54:49 +0900
> Message-ID: <c715e6405050616543c0eef9d@mail.gmail.com>
> > 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.
>
Ruby 1.8.2. The stable version.
> > 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().
Thanks for the info. I'll see if I can get those Tk extensions installed.