Example #1
0
 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)
Example #2
0
 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
Example #3
0
File: resize.py Project: sk/gnumed
 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
Example #4
0
 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
Example #5
0
File: move.py Project: sk/gnumed
 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)
Example #6
0
 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