

def onCanvasContextmenu(self, sender, event):
    x = (DOM.eventGetClientX(sender) - DOM.getAbsoluteLeft(self.canvas.getElement()))
    y = (DOM.eventGetClientY(event) - DOM.getAbsoluteTop(self.canvas.getElement()))
    self.set_status(((('Contextmenue on Canvas at ' + str(x)) + ', ') + str(y)))
    DOM.eventPreventDefault(event)

dataset/ETHPy150Open pyjs/pyjs/examples/raphael/events.py Events.onCanvasContextmenu/VarMisuse@21/29 `event`->`sender`