views:

58

answers:

1

I noticed that in my version of Tkinter, the after() call does not survive system clock rewinding.

If the after(x, func) was called, and the system clock was rewinded, func will be called only after the clock returned to its time before the rewind + x milliseconds.

I assume this is because Tkinter uses the system-clock instead of the "time.clock" (the amount of time that the program is running).

I tested it only on windows, and maybe its because I have an old version of Tkinter. I want my App to work on computers that synchronize their clock from the network...

Does anyone have a simple solution?

A: 

What about creating a variable that holds a counter (in seconds) starting at the time the program is executed?

relima