Re: python and Tix.Tk() on Mac
by Trent Mick other posts by this author
Jul 11 2007 3:27PM messages near this date
view in the new Beta List Site
python and Tix.Tk() on Mac
|
Question about version differences.
Alan wrote:
> ...
> So I downloaded ActiveTcl8.4.14.0.272572-macosx-universal-threaded.dmg
> hoping to get Tix.Tk() working but I got it:
> >>> Tix.Tk()
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk/Tix.py",
> line 210, in __init__
> self.tk.eval('package require Tix')
> _tkinter.TclError: can't find package Tix
>
> The only way I got Tix.Tk() working so far was using Fink but I want
> the nice aqua visual for python. Is there any way of getting it
> working?
>
> I would appreciate any help here.
Unfortunately Tix isn't included ActiveTcl on Mac OS X. Jeff Hobbs, Tcl
dude here at ActiveState, spent a little time on getting Tix building on
OS X.
[Jeff wrote]
> OK, I went through trying to get Tix working on OS X. The build system works just fine, b
ut the code has evidently never been run there. I have a few fixes I can apply to make it l
ess of a problem, but there are simply imcompat issues with Tix and Aqua (OS X/X11 would be
OK).
Jeff recommended other widgets that are available in ActiveTcl over what
Tix provides and invited you to ask on news:comp.lang.tcl or the
ActiveTcl list as to good alternatives to what he is using (specifying
use of Tkinter).
Hope that helps,
Trent
--
Trent Mick
trentm at activestate.com
_______________________________________________
ActivePython mailing list
ActivePython@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython
Thread:
Alan
Trent Mick
|