[Pythonmac-SIG] Tkinter Question...

Kevin Walzer kw at codebykevin.com
Wed Feb 7 00:32:37 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jerry LeVan wrote:
> Hi,
> 
> I have recently upgraded my Mac to ActiveTCL from Tk Aqua. It appears
> that tcl/tk 8.4.14 works much more smoothly than apple's 8.4.0.
> 
> I am trying to port some of my tcl stuff to python ( MacPython 2.4.3).
> I am using tkinter for the gui.
> 
> It appears that tkinter.so is linked to the tk in /System/Library...
> (ie the old apple version) instead of the tk in /Library/Frameworks/ 
> Tk....
> 
> This means that the interface is sorta clunky ie the window zoom buttons
> don't work, scroll controls in the lower right corner get covered up,
> scrolling and selection are a bit flakey...
> 
> Is it possible to build tkinter against a more modern tk? If so, how?
> 
> (Reading the forums at ActiveState on Python seems to indicate that
> ActiveStates tkinter for the Mac ( I have a G4) also links against
> the old Apple Tk.)
> 
> Thanks,
> 
> Jerry
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
> 
> 
Use Python 2.5. I had no problems getting it to link against a more
recent build of Tcl/Tk Aqua--I think it does so by default and look at
the Apple-installed version only as a fallback.

- --
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFFyRAVEsLm8HXyq4sRAruhAJURrwly414Mw/O8ROy65+yUjJEGAJ9b/6Oy
io2f2zvA/3qLttEDm0qoWQ==
=omjT
-----END PGP SIGNATURE-----


More information about the Pythonmac-SIG mailing list