More specifically, I want to be able to support lambda: <some_or_other_setter>, but I want to keep the code clear and to a concise. I have to validate the value, so I need a setter of some kind.
I\'m trying to learn Tkinter but I\'m running into a problem. I\'d like it so once the user hits their Enter key it will copy what is in an Entry field. I was planning on using the .bind() method but
Using a Tkinter tutorial site -as supplied by school-, I attempted to add a simple Paint-drawn gif into a La开发者_如何学运维bel on my Python program.
Specs: Python2.7.1 Tkinter (Tk version 8.5) Windows7 IDLE 2.7.1 I\'m coding a program that \'spawns\' two windows, withdraws both, destroys one and then deiconifies the other (which then enters a mai
I\'m just getting started with Tk and using it in python.I set up a button that does a ton (like two minutes worth) of stuff behind the scenes when you press it.I also set up a status text to show wha
I am very new in matplotlib and consequently I encounter some problems.. I try to insert a 3D graphic in a Tkinter canvas and I would like to get, (on click), the position of the mouse. The problem 开
With this code fragment, I would expect the label to have a background color red. def createWidgets(self):
I am working on a python checkers game for college. I have the board drawn, using tk, but I can\'t seem to implement a movement function for the pieces. If anyone see any errors in my code, or can off
I have a main window which creates a setup window (defined as a top level window) as a wait_window via this line of code:
I have an event handler that I bound to Ctrl+H, which Tkinter also recognizes as backspace. Though I read that with a return \'break\' at the end of the handler I should stop the propagation of the sh