modeless dialog tkinter modeless dialog tkinter tkinter tkinter

modeless dialog tkinter


Remove the line that says self.grab_set(). A "grab" means to grab all events and direct them toward this window, which you don't want.

If you read a bit deeper into the web page where you got the code you'll see that it mentions this exact line and why it is there:

... Next, the constructor creates the dialog body, and then calls grab_set to make the dialog modal