def on_button_press(self, button, event): if event.button == 3: custom_result.show_menu(button, event, save_callback=self.__save) return True return False
def do_button_press_event(self, event): if event.button == 3: custom_result.show_menu(self, event, save_callback=self.__save) return True else: return True