Version 2 of wm withdraw

Updated 2002-03-27 20:00:06

Here's a note on wm withdraw from George Petasis in the comp.lang.tcl newsgroup:

I wouldn't advise you to use "wm withdraw ." on the "." window. Under some window managers (especially under unix...) this will prevent dialogs that have as parent the "." (like error messages) to not show up and block your app. Better to use something like:

 wm geometry . 1x1+0+0
 wm overrideredirect . 1
 wm transient .

You can even send it out of the visible part of the screen, like

 wm geometry . 1x1+3000+3000

But in any way do not withdraw it :-)


Tk Syntax Help - Category Command