Ftf 3k3 wrote:
Jens R. wrote:
I use Ruby 1.8 under Windows (installed with the One-Click-Installer).
When I try to use Tk I get a message that tk84.dll is not available.
I googled a bit and found that I have to install ActiveTcl 8.4 and did
Message still occurred, after I copied tk84.dll from Tcl/lib to ruby/lib
the next error was “tcl84.dll” not found… I copied this, too, and then
init.tcl was not found…
I think I’m on the wrong way to copy all the files from Tcl to ruby, how
can I get Tk running?
Thanks for hints,
Some said that Tk used to be included in the One-Click Installer. This
is apparently no longer the case. Unfortunately, that makes things much
more complicated when you want to send a program to a friend who’s
There seem to be a few bugs with Tk in Ruby 1.8.6 - bugs where the same
Tk instructions work fine in both Tcl and Python.
Tk is generally so well suited to portable scripting that it is
worrisome to see it in neglect in Ruby. There are also a lot of serious
bugs in the Tk IDE for Ruby, Arcadia. And yet if you look at a rich IDE
built in Tk such as the XCTcl IDE you can see what can be achieved.
In the case of Python, Tk is usually half the lines of code compared to
Gtk+ and Ruby is about the same (although better than the Python Gtk kit
in that regard)
If you look at QTk for the Oz language you will see just how much can be
achieved in the way of a Dynamic GUI with just Tk.
That being said, I still use some FXRuby and tinker with Mondrian for