Can't start Tix

Raseliarison nirinA nirina at mail.blueline.mg
Thu May 8 20:18:14 EDT 2003


"Martin v. Löwis" writes:
> Frank <Frank at no.spam> writes:
>
> > >I don't think that win32 python comes with Tix.
> [...]
> > Tix is described in section 16.2 of the Python Library Reference
> > 2.2.2.
>
> So what? The documentation does not claim that this module is
> available on every operating system supported by Python.
>
> > I shur would like to know what happened, or what was supposed to
> > happen.  Did the Lib Ref just get ahead of itself?
>
> No. The module described works fine on X11 if you have Tix
> installed. It also works fine on Windows if you have Tix installed.
>
> > The project I'm working on is being done in Python because of the
> > cross platform capabilities, so I can't use *nix specific features.
>
> Then you either shouldn't use the Tix module, or obtain and use a Tix
> installation for Windows.
>
> Regards,
> Martin
>

I can't help you much but a few words of advice.
'package require Tix' is a tcl command like 'import Tix' in Python. You do
have tcl/tk installed correctly in order to use and run Tix.
Here:
https://sourceforge.net/project/showfiles.php?group_id=2435&release_id=84152
you can download tcl/tk source tarball and all needed tools to build tcl/tk
package on win32 with MinGW (Minimalist GNU for Windows).
 i think that the minimal package to download and to install is: binutils,
gcc, mingw-runtime, make, mingw-utils
Once you succeed in installing tcl/tk there is a chance you can install Tix
package by building it from source.
That might be tricky, but gcc version 3.2.3 for MinGW has been recently
released so it's worthy to try building tcl/tk/tix and Python with.
notice: i have not yet tried this.
hope this helps,
nirinA






More information about the Python-list mailing list