def remove_viewport(self): self.item_changed_handler = None self.prevent_system_sleep(False) self.detach_from_parent_window() self.video_window.close() self.video_window = None Widget.remove_viewport(self)
def remove_viewport(self): app.info_updater.item_changed_callbacks.remove('manual', 'playback-list', self.on_items_changed) self.item_changed_handler = None self.prevent_system_sleep(False) self.detach_from_parent_window() self.video_window.close() self.video_window = None Widget.remove_viewport(self)
def remove_viewport(self): Widget.remove_viewport(self) self.notifications.disconnect()
def remove_viewport(self): self.view.remove_tracking_rect() Widget.remove_viewport(self)