MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / onkey

Method onkey

Lib/lib-tk/turtle.py:1314–1342  ·  view source on GitHub ↗

Bind fun to key-release event of key. Arguments: fun -- a function with no arguments key -- a string: key (e.g. "a") or key-symbol (e.g. "space") In order to be able to register key-events, TurtleScreen must have focus. (See method listen.) Example

(self, fun, key)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

clearMethod · 0.95
__init__Method · 0.80

Calls 3

_onkeyMethod · 0.80
removeMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected