On Oct 8, 7:15 pm, J Wolfe wrote:
> Thank you both for your replies. I had something similar to this:
>
> def incr():
> var.set(1 + var.get())
> root.after(1000, incr)
>
> except I had an extra set of parenthesis...
> def incr():
> var.set(1 + var.get())
> root.after(1000, incr())
>
> on
Thank you both for your replies. I had something similar to this:
def incr():
var.set(1 + var.get())
root.after(1000, incr)
except I had an extra set of parenthesis...
def incr():
var.set(1 + var.get())
root.after(1000, incr())
on the function which was screwing it up. Also needed to ha
On Thursday, 8 October 2009 00:40:42 J Wolfe wrote:
> What's the best way to make a realtime loop in Tkinter? I know in
> perl you can use "repeat" and it will call a function every x seconds,
> in python it seems like "after" may be the equivalent though it
> doesn't seem to behave like the perl
On Oct 8, 12:40 am, J Wolfe wrote:
> What's the best way to make a realtime loop in Tkinter? I know in
> perl you can use "repeat" and it will call a function every x seconds,
> in python it seems like "after" may be the equivalent though it
> doesn't seem to behave like the perl repeat function.
What's the best way to make a realtime loop in Tkinter? I know in
perl you can use "repeat" and it will call a function every x seconds,
in python it seems like "after" may be the equivalent though it
doesn't seem to behave like the perl repeat function. Any ideas?
Thanks,
Jonathan
--
http://mai