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

Wave71 jacob.valenta at gmail.com
Fri Oct 8 23:49:05 CEST 2010


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.



More information about the Tkinter-discuss mailing list