This question already has answers here: How do I handle the window close event in Tkinter? (11 answers)
I\'d like to make a drag-n-drop function for a widget. The code is this: from tkinter import * root = Tk()
I need a command to be executed as long as the left mouse butt开发者_StackOverflowon is being held down. If you want \"something to happen\" without any intervening events (ie: without the user moving
I need to get the mouse position relative to the tkinter window开发者_StackOverflow社区. Generally speaking you should never need to \"get\" this information because it is given to you as part of the
I\'m writing my first GUI program with Tkinter (first program in Python too, actually). I have an Entry widget for searching, and the results go to a Listbox. I want the results to update as the user
I put in a partially transparent PNG imag开发者_开发问答e in Tkinter and all I get is this How do I make the dark triangle on the right clear? (like it\'s supposed to be)
I am having a bit of trouble with the Tkinter grid() manager. It is spacing the rows too far apart. I have two entry widgets to place, and I need one almost directly under the other. When I place them
Okay, well supposedly PIL is supposed to be able to work with Tkinter automatically, but mine is not. I found this text file in the Imaging directories Tk directory.
Is it possible to set the cursor 开发者_运维知识库position in a Tkinter Text widget? I\'m not finding anything terribly useful yet.
I have a top level widget that is created when a b开发者_Go百科utton is pressed. How do I make it so when that same button is pressed again, while the top level widget is still open it simply moves th