Searched refs:onkey (Results 1 – 5 of 5) sorted by relevance
/third_party/python/Lib/turtledemo/ |
D | sorting_animate.py | 177 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")
|
D | minimal_hanoi.py | 51 onkey(None,"space") 72 onkey(play, "space")
|
D | nim.py | 192 self.game.screen.onkey(self.game.model.setup, "space") 193 self.game.screen.onkey(self.game.view.clear, "Escape")
|
/third_party/python/Doc/library/ |
D | turtle.rst | 208 | :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/ |
D | turtle.py | 1031 self.onkey(None, key) 1367 def onkey(self, fun, key): member in TurtleScreen 1509 onkeyrelease = onkey
|