[Tkinter-discuss] Tkinter doesnt respond until after wait command

Firat Ozgul ozgulfirat at gmail.com
Sat Oct 9 11:10:35 CEST 2010


Hello,

Take a look at this code:

http://paste-it.net/public/l0b490d/

2010/10/9 Wave71 <jacob.valenta at gmail.com>

>
> I create and object (text)
> then I want it to wait for about 3 seconds
> then I want it to delete that object
>
> import time
>
> text = w.create_text(x,y, text)
> time.sleep(3)
> w.delete(text)
>
>
> But when I execute this, It waits until the sleep time is done, and then it
> displays the window, but by then, the text has already disappeared!
>
> what should I do?
> --
> View this message in context:
> http://old.nabble.com/Tkinter-doesnt-respond-until-after-wait-command-tp29918684p29918684.html
> Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.
>
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss at python.org
> http://mail.python.org/mailman/listinfo/tkinter-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tkinter-discuss/attachments/20101009/40adeda3/attachment.html>


More information about the Tkinter-discuss mailing list