MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / _ontimer

Method _ontimer

Python/Turtle.py:609–615  ·  view source on GitHub ↗

Install a timer, which calls fun after t milliseconds.

(self, fun, t)

Source from the content-addressed store, hash-verified

607 self.cv.focus_force()
608
609 def _ontimer(self, fun, t):
610 """Install a timer, which calls fun after t milliseconds.
611 """
612 if t == 0:
613 self.cv.after_idle(fun)
614 else:
615 self.cv.after(t, fun)
616
617 def _createimage(self, image):
618 """Create and return image item on canvas.

Callers 1

ontimerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected