def cb_edit_label(self, *args): marker = self.__get_selected_marker() if marker==None: return edit_label_of_marker(marker)
def button_down(*args): marker = self.get_marker_at_point() if marker is None: return edit_label_of_marker(marker)
def cb_edit_label(self, *args): marker = self.__get_selected_marker() edit_label_of_marker(marker)