How to create a self-destructing Tkinter dialog box?

Martin P. Hellwig martin.hellwig at dcuktec.org
Thu Dec 17 02:09:03 EST 2009


mrstevegross wrote:
> Ok, I would like to put together a Python/Tkinter dialog box that
> displays a simple message and self-destructs after N seconds. Is there
> a simple way to do this?
> 
> Thanks,
> 
> --Steve

Just, thinking aloud, I probably would do something like registering the 
[place|grid|pack]_forget() function by using the alarm callback 
'after()' function of that frame.

-- 
MPH
http://blog.dcuktec.com
'If consumed, best digested with added seasoning to own preference.'



More information about the Python-list mailing list