I've implemented the code I found in another question, and I'm wondering why it works.
This is the code that makes a Tkinter window topmost in mac, and then doesn't when it's idle (if that makes sense)
root.lift()
root.call('wm', 'attributes', '.', '-topmost', True)
root.after_idle(root.call, 'wm', 'attributes', '.', '-topmost', False)
How would I make it work in Windows, for example?