

def button_press_event(self, widget, event):
    x = event.x
    y = event.y
    button = self.kbdmouse_mask
    if (event.button != 0):
        button |= (1 << (event.button - 1))
    return True

dataset/ETHPy150Open ejeschke/ginga/ginga/gtkw/GtkHelp.py MDIWidget.button_press_event/original