Re: question about ActiveState's Tkx



On Mar 2, 2:20 pm, "~greg" <g...@xxxxxxxxxxxxxxxxxx> wrote:
In the Tcl.pm help, in the section
"Moving Tcl/Tk around with Tcl.pm",
it says:

In order to create Tcl/Tk application with this module, you need to make sure
that Tcl/Tk is available within visibility of this module. There are many ways
to achieve this, varying on ease of starting things up and providing flexible
moveable archived files.
Following list enumerates them, in order of increased possibility to change location.
First method
Install Tcl/Tk first, then install Perl module Tcl, so installed Tcl/Tk will be used.
This is most normal approach, and no care of Tcl/Tk distribution is taken
on Perl side (this is done on Tcl/Tk side)
....

This is the generic Tcl.pm docs, whereas is appears you are using
ActivePerl, which includes Tkx. We make some minor patches in order
to ensure there is a working and _reliable_ Tcl/Tk available. This is
because ActivePerl's ppm UI is written in Tkx.

which seems to mean that tkkit.dll is being used, not Tcl/Tk.

Yes, the tkkit.dll is a single-file dll that encompasses Tcl/Tk +
extensions. This is patched in as the "default" Tcl/Tk to be found.

So how can I get Tkx.pm (and Tcl.pm) to use Tcl/Tk instead of tkkit.dll?

This can be controlled with the PERL_TCL_DLL environment variable
(point to another tclXY.dll should generally work), or $Tcl::DL_PATH
in Perl.

Jeff
.



Relevant Pages

  • Re: Comparing Tcl to Perl
    ... > of Tcl/Tk, ... > approved scripting language is Perl. ... My suggestion is to avoid tcl vs perl comparison. ... Perhaps you can highlight how tcl is used in other commercial products ...
    (comp.lang.tcl)
  • Re: Comparing Tcl to Perl
    ... > of Tcl/Tk, which is outside corporate standards. ... > approved scripting language is Perl. ... Tcl is far better in this than Perl is. ...
    (comp.lang.tcl)
  • Re: Comparing Tcl to Perl
    ... > of Tcl/Tk, which is outside corporate standards. ... > approved scripting language is Perl. ... was the Tcl event loop and how it integrates with widget ...
    (comp.lang.tcl)
  • Re: Unix Tools
    ... like shells awk sed Perl Python C tcl/tk Java Lisp ...
    (comp.os.linux.setup)
  • Re: Unix Tools
    ... like shells awk sed Perl Python C tcl/tk Java Lisp ...
    (comp.unix.questions)