Can a Tkinter GUI check for abort script:

Mohammad Tayseer m_tayseer82 at yahoo.com
Mon Dec 18 10:40:01 EST 2006


To view a button & hide the other, call .pack_forget() on the button you want to hide & pack() on the button you want to show

test3.py should contains a main() function that returns the new window. if you press 'Abort script' button you should call new_window.destroy(), pack_forget() the current button & pack() the 'run script' button



 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20061218/b49180fe/attachment.html>


More information about the Python-list mailing list