tkinter
How do I send multiple arguments when binding a widget to a function in python 2.7.2
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:[详细]
2023-04-11 20:31 分类:问答swapping in Tkinter
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.[详细]
2023-04-11 18:15 分类:问答My Tkinter GUI is too ... static?
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[详细]
2023-04-11 15:19 分类:问答Tkinter: Updating GUI after resizing a window
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[详细]
2023-04-11 12:00 分类:问答Stop a Tkinter frame from resizing according to widget sizes
root = Tk() descriptionFrame = Frame(root) definitionFrame = LabelFrame(descriptionFrame, text=\"Definition\")[详细]
2023-04-11 03:58 分类:问答Is Python ever supposed to crash?
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[详细]
2023-04-10 06:59 分类:问答How to get the tag of a shape when clicked
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[详细]
2023-04-10 02:24 分类:问答Display image with Tkinter and loop over time
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[详细]
2023-04-10 01:32 分类:问答How to implement the MVC-pattern in Tkinter
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[详细]
2023-04-10 01:28 分类:问答32bit TIFF to another format in Python
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)[详细]
2023-04-09 23:58 分类:问答