I wanted to do this instead of using the Tcl from ActiveState but couldn't find a tclsh or wish executable in Python's Tcl install. How would I run code using Python's Tcl distribution?
From: Michael Lange <klappn...@web.de> To: tkinter-discuss@python.org Date: 10/18/2010 02:43 PM Subject: Re: [Tkinter-discuss] Tkinter vs Tk strangness Sent by: tkinter-discuss-bounces+daniel.schep=srnl.doe....@python.org Hi Daniel, Thus spoketh daniel.sc...@srnl.doe.gov unto us on Mon, 18 Oct 2010 10:39:58 -0400: (...) > A set of codes that demonstrates this difference is: > > Tcl: > button .b -text weird -state disabled -font "system 20" -bg blue2 > pack .b > > Python: > from Tkinter import * > r = Tk() > b = Button(r, text='weird', state=DISABLED, font="system 20", > bg='blue2') b.pack() > > > Here is a set of images that demonstrates the problem on my machine, > with Python 2.5.6 from Python.org (which uses Tk 8.5.2.2) and Tcl 8.5.9 > from ActiveState. > > http://imgur.com/a/hzAJn/tkinter_vs_tk_weirdness Have you tried to run the tcl example with the Tcl/Tk version shipped with Python? My first guess would be, that it is a problem with this Tk version and has nothing to do with Python. Regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. Beam me up, Scotty, there's no intelligent life down here! _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss