def mouse_event(self):
event = self.events[-<NUM_LIT:1>]<EOL>button = event.button<EOL>if button == <NUM_LIT:3>:<EOL><INDENT>self.button3(event)<EOL><DEDENT>elif button == <NUM_LIT:2>:<EOL><INDENT>self.button2(event)<EOL><DEDENT>else:<EOL><INDENT>self.button1(event)<EOL><DEDENT>
Process a mouse click event