MCPcopy Create free account
hub / github.com/csev/py4e / _onClick

Method _onClick

code/graphics/graphics.py:375–379  ·  view source on GitHub ↗
(self, e)

Source from the content-addressed store, hash-verified

373 self._mouseCallback = func
374
375 def _onClick(self, e):
376 self.mouseX = e.x
377 self.mouseY = e.y
378 if self._mouseCallback:
379 self._mouseCallback(Point(e.x, e.y))
380
381class Transform:
382

Callers

nothing calls this directly

Calls 1

PointClass · 0.85

Tested by

no test coverage detected