[Pythonmac-SIG] Tkinter Question...

Jerry LeVan jerry.levan at eku.edu
Wed Feb 7 00:45:30 CET 2007


On Feb 6, 2007, at 6:32 PM, Kevin Walzer wrote:

> -----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.

Well, I am also running Python 2.4.3 on my Linux and Windows Xp box, I
have enough trouble keeping stuff straight without having different
versions of everything :)

Jerry


More information about the Pythonmac-SIG mailing list