Can a Tkinter GUI check for abort script:
Michael Yanowitz
m.yanowitz at kearfott.com
Mon Dec 18 07:37:47 EST 2006
Hello:
I have successfully implemented a Tkinter GUI which has
this (simplified here for explanation):
+-------------------------------------+
| filename: [ ./test3.py] |
| |
| [Run Script] |
+-------------------------------------+
But, now what I would like to do while the script is
running, is replace the "Run Script" with "Abort Script".
+-------------------------------------+
| filename: [ ./test3.py] |
| |
| [Abort Script] |
+-------------------------------------+
So, every tenth of a seconds or ??? better time, I
would like to 'return' to the GUI and check if the
"Abort Script" button has been pressed.
How do I do this? Or is there a better way to
implement this?
Thanks in advance:
Michael Yanowitz
More information about the Python-list
mailing list