Searched refs:onkey (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython3/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")
|
/external/python/cpython2/Demo/turtle/ |
D | tdemo_minimal_hanoi.py | 51 onkey(None,"space") 72 onkey(play, "space")
|
D | tdemo_nim.py | 193 self.game.screen.onkey(self.game.model.setup, "space") 194 self.game.screen.onkey(self.game.view.clear, "Escape")
|
/external/python/cpython3/Doc/library/ |
D | turtle.rst | 208 | :func:`onkey` | :func:`onkeyrelease` 1694 .. function:: onkey(fun, key) 1710 >>> screen.onkey(f, "Up") 1729 >>> screen.onkey(f, "Up") 2408 :meth:`Screen.onkey` which in fact binds actions to the keyrelease event.
|
/external/python/cpython3/Lib/ |
D | turtle.py | 1030 self.onkey(None, key) 1366 def onkey(self, fun, key): member in TurtleScreen 1508 onkeyrelease = onkey
|
/external/python/cpython2/Doc/library/ |
D | turtle.rst | 194 | :func:`onkey` 1635 .. function:: onkey(fun, key) 1650 >>> screen.onkey(f, "Up")
|
/external/python/cpython2/Lib/lib-tk/ |
D | turtle.py | 978 self.onkey(None, key) 1315 def onkey(self, fun, key): member in TurtleScreen
|