Hey guys so I am trying to make a timer app for studying which pops-up when break time is triggered. I am using this code to bring the window up, but the issue I am facing is if I minimize the window this code does not work anymore and the app does not pop-up. I tried to find a way to just remove the minimize button option from the window but didn't come across anything.
def raise_above_all(window):
window.attributes('-topmost', 1)
window.attributes('-topmost', 0)
You can use window.deiconify()
to make it un-minimize, and use your code to make it go to front. Like this:
window.deiconify()
window.attributes('-topmost', 1)
window.attributes('-topmost', 0)