[Pythonmac-SIG] Tkinter 8.3.4 for classic *and Carbon* MacPython

Jack Jansen jack@oratrix.nl
Tue, 08 Jan 2002 23:42:35 +0100


Ok lazy bones,
as nobody jumped in I've finally taken the plunge and updated _tkinter
to Tcl/Tk version 8.3.4. Moreover, I did one better and created an
_tkinter.carbon.slb too, so MacPython in its Carbon version should now
also be able to run Tkinter scripts.

Everyone interested in Tk is expected to download this and try it
with MacPython 2.2. I've built it with 2.2+ but I'm 99% sure it should
work with 2.2 (but be sure to make a backup of your old
_tkinter.ppc.slb in case it doesn't work).

Download the new plugin modules from
http://www.cwi.nl/~jack/python/mac/newer, and drop them in
:Lib:lib-dynload.

One known problem: I don't see a mouse cursor when running under
Carbon MacPython (ppc MacPython is ok). cmd-tab back and forth to
another program to know where your mouse is:-) Suggestions as to what
could be going on are welcome.

Another known problem: file event handlers still don't work, and will
never work. If the situation has gotten worse here than with the
previous _tkinter I would like to know about it (I took out the
workaround code, which I think was non-functional anyway since Tk 8).

Yet another known problem: this doesn't work under OSX, and it never
will. The Carbon version isn't really Carbon, it's classic but it is
linked in such a way that it can function in a Carbon MacPython on OS9.

And a question: I didn't include the Tk-specific MDEF. This also
wasn't included in the previous _tkinter. Are people seeing strange
behaviour with menus? Should I see what happens if I include it?
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma Goldman -