def destroy(self): # show at least menubar again, set margins to zero & restore colors self.ui.uistate['MainWindow']['show_menubar_fullscreen'] = True self._set_margins(0, 0, 0, 0) if self._normal_colors: self._set_colors(self._normal_colors) PluginClass.destroy(self)
def destroy(self): if self._set_template: ns = self._set_template try: self.ui.notebook.namespace_properties[ns].remove('template') except KeyError: pass self.destroy_embedded_widget() PluginClass.destroy(self)
def destroy(self): self.disconnect_embedded_widget() PluginClass.destroy(self)
def destroy(self): self._drop_table() PluginClass.destroy(self)
def destroy(self): self.disconnect_sidepane() self.disconnect_floating() PluginClass.destroy(self)
def destroy(self): self.disconnect_trayicon() self.ui.hideonclose = False PluginClass.destroy(self)