예제 #1
0
 def __init__(self, component=None, *args, **kw):
     # Since this class uses multiple inheritance (eek!), lets be
     # explicit about the order of the parent class constructors
     AbstractOverlay.__init__(self, component, *args, **kw)
     BetterZoom.__init__(self, component, *args, **kw)
     # Store the original range settings
     x_range = self._get_x_mapper().range
     y_range = self._get_y_mapper().range
     self._orig_low_setting = (x_range.low_setting, y_range.low_setting)
     self._orig_high_setting = (x_range.high_setting, y_range.high_setting)
예제 #2
0
 def __init__(self, component=None, *args, **kw):
     # Since this class uses multiple inheritance (eek!), lets be
     # explicit about the order of the parent class constructors
     AbstractOverlay.__init__(self, component, *args, **kw)
     BetterZoom.__init__(self, component, *args, **kw)
     # Store the original range settings
     x_range = self._get_x_mapper().range
     y_range = self._get_y_mapper().range
     self._orig_low_setting = (x_range.low_setting, y_range.low_setting)
     self._orig_high_setting = (x_range.high_setting, y_range.high_setting)
예제 #3
0
 def __init__(self, component=None, *args, **kw):
     # Since this class uses multiple inheritance (eek!), lets be
     # explicit about the order of the parent class constructors
     AbstractOverlay.__init__(self, component, *args, **kw)
     BetterZoom.__init__(self, component, *args, **kw)