Home
last modified time | relevance | path

Searched refs:onkey (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Lib/turtledemo/
Dsorting_animate.py177 onkey(None, "s")
178 onkey(None, "i")
179 onkey(None, "q")
180 onkey(None, "r")
183 onkey(start_isort, "i")
184 onkey(start_ssort, "s")
185 onkey(start_qsort, "q")
186 onkey(randomize, "r")
187 onkey(bye, "space")
Dminimal_hanoi.py51 onkey(None,"space")
72 onkey(play, "space")
Dnim.py192 self.game.screen.onkey(self.game.model.setup, "space")
193 self.game.screen.onkey(self.game.view.clear, "Escape")
/third_party/python/Doc/library/
Dturtle.rst208 | :func:`onkey` | :func:`onkeyrelease`
1774 .. function:: onkey(fun, key)
1791 >>> screen.onkey(f, "Up")
1811 >>> screen.onkey(f, "Up")
2501 :meth:`Screen.onkey` which in fact binds actions to the keyrelease event.
/third_party/python/Lib/
Dturtle.py1031 self.onkey(None, key)
1367 def onkey(self, fun, key): member in TurtleScreen
1509 onkeyrelease = onkey