Is there a way to destroy the tkinter messagebox without clicking OK? Is there a way to destroy the tkinter messagebox without clicking OK? tkinter tkinter

Is there a way to destroy the tkinter messagebox without clicking OK?


Maybe a message box is not what you require in this context. If you would just like to show a message then have it automatically disappear you could use a new TopLevel or frame and then destroy the frame after a timeout. In terms of user interaction and experience, message boxes are designed to wait for user input?

This is a good example of using a new TopLevel

closing tkmessagebox after some time in python

I found this page that describes what can be done to customise message boxes, though what I could find is somewhat limited.

http://effbot.org/tkinterbook/tkinter-standard-dialogs.htm