def onCanvasMousedown(self,sender,event):
        x = DOM.eventGetClientX(event) - DOM.getAbsoluteLeft(self.canvas.getElement())
        y = DOM.eventGetClientY(event) - DOM.getAbsoluteTop(self.canvas.getElement())
        self.set_status('Mousedown on Canvas at '+str(x)+', '+str(y))
dataset/ETHPy150Open pyjs/pyjs/examples/raphael/events.py/Events.onCanvasMousedown/original