[Tkinter-discuss] Tkinter vs Tk strangness

Daniel.Schep at srnl.doe.gov Daniel.Schep at srnl.doe.gov
Mon Oct 18 21:57:48 CEST 2010


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 <klappnase at web.de>
To:     tkinter-discuss at 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.gov at python.org



Hi Daniel,

Thus spoketh Daniel.Schep at 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 at python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20101018/a0cb5cba/attachment.html>


More information about the Tkinter-discuss mailing list