How to put a tkinter window on top of the others?

I know this is an old question but I found it weird that no one came up with the simple solution I had,

app = SampleApp()

app.attributes('-topmost', True)
app.update()
app.attributes('-topmost', False)

app.mainloop()

Leave a Comment