Can a Tkinter GUI check for abort script:

Mohammad Tayseer m_tayseer82 at yahoo.com
Tue Dec 19 07:55:28 EST 2006


Michael Yanowitz <m.yanowitz at kearfott.com> wrote:      > What I am hoping for is a function call I  can make, without knowing any
> of the GUI  objects, I can call from test3.py (or while test3.py is running) 
> which  will refresh the GUI and check for activity such as button  presses
> on the GUI itself.

call w.update_idletasks(). see http://infohost.nmt.edu/tcc/help/pubs/tkinter/universal.html#update_idletasks
  >  For example, if I just call sleep(), will it do this?

No, it won't
   > Thanks  in advance:
 > Michael Yanowitz

You're welcome


 __________________________________________________
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/20061219/f2f1674d/attachment.html>


More information about the Python-list mailing list