(May-20-2020, 08:40 PM)Larz60+ Wrote: you can make root window hidden withparent.withdraw()
should be able to add it right after line 9
to bring back again, useparent.deiconify()
yeah, but they are already configured after the line 9.
(May-21-2020, 07:33 AM)deanhystad Wrote: Calling parent.withdraw() before creating the first or second window places the new window at the top. The other order of create then withdraw probably should leave the newly created window on top, but since this window loses focus when you call the parent window, who gets focus is completely up to the window manager.
Very strange that a window decoration has this subtle effect.
you are right, if I call "parent.withdraw()" before to create the new window, I solve the issue but.. I know, probably we are talking about some milliseconds, but this solution makes me to see always the main window closes and the second one appears. before, the process seemed faster, now opening a new window seems slower and I don't like it.