Home
last modified time | relevance | path

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

/external/python/cpython3/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")
/external/python/cpython2/Demo/turtle/
Dtdemo_minimal_hanoi.py51 onkey(None,"space")
72 onkey(play, "space")
Dtdemo_nim.py193 self.game.screen.onkey(self.game.model.setup, "space")
194 self.game.screen.onkey(self.game.view.clear, "Escape")
/external/python/cpython3/Doc/library/
Dturtle.rst208 | :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/
Dturtle.py1030 self.onkey(None, key)
1366 def onkey(self, fun, key): member in TurtleScreen
1508 onkeyrelease = onkey
/external/python/cpython2/Doc/library/
Dturtle.rst194 | :func:`onkey`
1635 .. function:: onkey(fun, key)
1650 >>> screen.onkey(f, "Up")
/external/python/cpython2/Lib/lib-tk/
Dturtle.py978 self.onkey(None, key)
1315 def onkey(self, fun, key): member in TurtleScreen