MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _ontimer

Method _ontimer

tools/python-3.11.9-amd64/Lib/turtle.py:711–717  ·  view source on GitHub ↗

Install a timer, which calls fun after t milliseconds.

(self, fun, t)

Source from the content-addressed store, hash-verified

709 self.cv.focus_force()
710
711 def _ontimer(self, fun, t):
712 """Install a timer, which calls fun after t milliseconds.
713 """
714 if t == 0:
715 self.cv.after_idle(fun)
716 else:
717 self.cv.after(t, fun)
718
719 def _createimage(self, image):
720 """Create and return image item on canvas.

Callers 1

ontimerMethod · 0.80

Calls 2

after_idleMethod · 0.80
afterMethod · 0.80

Tested by

no test coverage detected