Just wondering, How do I bind an entry field to (with the return key) a function that requires 2 arguments counting event as one of them without lambda or classes, just one function and 2 arguments:
I have a simple Tkinter program in Python that converts feet to meters. It has a Label, a Feet Entry box, a Meters box with a sunken border, and then 3 buttons: Quit, Covert, and Swap.
I use a Tkinter GUI to intiate a measurement and analysis process, which basically gets going with a开发者_如何学编程 clicked button. Since those measurements can take a while, I tried to include a pr
I have a GUI layout that has two dependencies on the screen size: line numbering and tab sizing. When the screen is resized how开发者_C百科ever, I have to manually update winfo_height() and winfo_widt
root = Tk() descriptionFrame = Frame(root) definitionFrame = LabelFrame(descriptionFrame, text=\"Definition\")
I am running a stand-alone Python v3.2.2/Tkinter program on Windows, not calling any external libraries.Idle has been very helpful in reporting exceptions, and the program has been debugged to the poi
Lets say I have created a canvas in a Tkinter app. In the canvas, I have drawn several rectangles. What I want in essence, is to know in which rectangle the user has clicked, that is my main concern
I am currently using the PIL and Tkinter to display images.I am streaming in images from a network and want to update my window automatically as the come in (much like a picture slideshow).My code for
I need a basic example where MVC p开发者_开发知识库attern is used with Python TK. I have some code using Tkinter, however I would like to transform it using the MVC pattern.I know this is quite old bu
I need to convert a 32 bit TIFF f开发者_如何学Cile (or the corresponding int32 array) to another format that Tkinter can display (like gif fe)