Possible Win32 Tkinter bug?

Tim Daneliuk tundra at tundraware.com
Fri Nov 15 05:10:20 EST 2002


Eric Brunel wrote:
<SNIP>
> 
> Windows has a quite different idea on which window should get the focus 
> than any other window manager on other platforms. We often encountered such 
> strange behaviours.
> 
> Did you try to explicitely do a tkraise and/or focus_set on the main window 
> after your message box has been shown? It may help. I also once saw that 
> calling successively withdraw(), then deiconify() on the main window can 
> solve such problems.
> 
> In other words: you're on Windows, so the standard way to do things is to 
> hack until you get the behaviour you want... ;-)
> 
> HTH


Thanks - I'll look into it...
-- 
------------------------------------------------------------------------------
Tim Daneliuk
tundra at tundraware.com




More information about the Python-list mailing list