def __init__(self, controller, status_bar, event, direction): ScrollViewInputHandler.__init__(self, controller) self.controller = controller self.status_bar = status_bar self.event = event self.direction = direction self.timer_running = False
def __init__(self, controller, initial_time): ScrollViewInputHandler.__init__(self, controller) self.controller = controller self.initial_time = initial_time self.last_valid_time = initial_time self.current_time = initial_time
def left_mouse_up(self): ScrollViewInputHandler.left_mouse_up(self) self.status_bar_adapter.set_text("") if self.drawing_area.timeline is not None: self.drawing_area.timeline._save_if_not_disabled() self.drawing_area.change_input_handler_to_no_op()
def mouse_moved(self, x, y, alt_down=False): ScrollViewInputHandler.mouse_moved(self, x, y, alt_down) self._move_event()
def left_mouse_up(self): ScrollViewInputHandler.left_mouse_up(self) self._clear_status_text() if self.controller.timeline is not None: self.controller.timeline._save_if_not_disabled() self.controller.change_input_handler_to_no_op()
def __init__(self, drawing_area, status_bar_adapter, event, start_drag_time): ScrollViewInputHandler.__init__(self, drawing_area) self.drawing_area = drawing_area self.status_bar_adapter = status_bar_adapter self.start_drag_time = start_drag_time self._store_event_periods(event)
def left_mouse_up(self): ScrollViewInputHandler.left_mouse_up(self) self._end_action()
def mouse_moved(self, x, y, alt_down=False): ScrollViewInputHandler.mouse_moved(self, x, y, alt_down) self._move_current_time()