Let's say I have a Tk GUI app that's running a procedure that takes a long time. Let's also say that I've changed my mind and don't want to wait until this procedure ends. I'd like to have a "Stop" button on my GUI that would accomplish this. Is that possible? I already have a button that quits the whole program but I'd like the program to keep running and window still be visible so I can click another button to do something else. Is there any way to stop the current running procedure? It's not multi-threading.