PyDocs

Nav

Graphical user interfaces with Tk

onscreenclick

turtle

function
  • onscreenclick(fun, btn=1, add=None)
Bind fun to mouse-click events on this screen. fun is called with the coordinates of the clicked point on the canvas. If fun is None, existing bindings are removed. btn is the number of the mouse button and defaults to 1, the left mouse button. If add is True, a new binding is added, otherwise it replaces a former binding.
0 Examples
No examples for turtle/onscreenclick.
See Also
No see-alsos for turtle/onscreenclick
0 Notes
No notes for onscreenclick