Movatterモバイル変換
[0]ホーム
Help closing seconds Tkinter window
Rob Edenrob at netzilient.com
Mon Apr 30 18:08:24 EDT 2001
Hi All- I have two windows in my application: one is the "main" winodw and isalways present, so it's using the default window. The second window is onlyavailable sometimes, so I'm using a Toplevel. The second window candisappear for two reasons: 1) the user clicks a button (this part's easy) or2) after a timeout. This does not seem to be easy. I've tried using destroy(), but it just seems to ignore it. I've triedusing withdraw(), but that hangs. So, being a Java programmer, I figuredthat maybe the GUI thread needs to call this method. The only way I couldsee that I thought might do this is the "after()" method... but that alsohnags when called. Since there's no good documentation for that method thatI've found (if it exists, please point me!), I'm not really sure that that'seven what that method does. Any help would be appreciated. Thanks!Robrob at netzilient.com
More information about the Python-listmailing list
[8]ページ先頭