If so, then why does the following work? What actually calls bar() below?

foo = Tk()
def bar():
     print "bar"
foo.after(1000, bar)
# Drop back to prompt with 'after#0' response
<1000ms>
bar

Quoting Fredrik Lundh <[EMAIL PROTECTED]>:

> Alec Solway wrote:
>
>> (1) Is this an inherit problem with how things in general are set up?
>> Is everything running under a single thread?
>
> yes.
>
> </F>
>
> _______________________________________________
> Tkinter-discuss mailing list
> Tkinter-discuss@python.org
> http://mail.python.org/mailman/listinfo/tkinter-discuss
>
>


_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to