Install a timer, which calls fun after t milliseconds.
(self, fun, t)
| 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. |