Configuring Python for Tk on Mac

2005-01-21 Thread Martyn Quick
On my desk here at work I have a Mac G4 running Mac OS X v10.2.8. When I go into a terminal and type "python" up comes a nice python interface and all seems great. However when I type "import Tkinter" I'm greeted by the following error. >>> import Tkinter Traceback (most recent call last): Fil

Configuring Python for Tk on Mac (continued)

2005-01-24 Thread Martyn Quick
From: Alex Martelli ([EMAIL PROTECTED]) > > No idea about any 10.2, sorry, but on 10.3 that's not the problem: Tk > support is there alright, it's Tcl/Tk which _isn't_. Get MacPython, its > PackageManager will explain where to get Tcl/Tk Aqua from, as a prereq > for Tkinter and IDLE! Ok, I've in

Background/foreground on disabled Tkinter.Entry

2006-01-22 Thread Martyn Quick
If I create a Tkinter.Entry widget, I can adjust the background and the text colours, using the background and foreground options. However, if the state is "disabled", then this has no effect and it just appears as grey on a light grey background. E.g., Tkinter.Entry(root, foreground="black", ba

Re: Background/foreground on disabled Tkinter.Entry

2006-01-22 Thread Martyn Quick
Thanks v. much. I'd missed that in the documentation I have access to. Martyn -- http://mail.python.org/mailman/listinfo/python-list