def __init__(self, dmf_device_controller, name): self.controller = dmf_device_controller self.last_frame_time = datetime.now() self.last_frame = None self.video_offset = (0, 0) self.display_offset = (0, 0) self.electrode_color = {} self.background = None self.overlay_opacity = None self.pixmap = None self._proxy = None self._set_window_title = False self.svg_space = None self.view_space = None self.drawing_space = None self.popup = ElectrodeContextMenu(self) self.popup.connect('registration-request', self.on_register) self.force_aspect_ratio = False self.sink = None self.window_xid = None SlaveView.__init__(self)
def __init__(self, *args, **kw): SlaveView.__init__(self) self.action = None