def __del__(self): ed_msg.Unsubscribe(self.OnPageChanged) ed_msg.Unsubscribe(self.OnThemeChanged) ed_msg.Unsubscribe(self.OnConfigExit) super(LaunchWindow).__del__()
def OnDestroy(self, evt): """Unsubscribe message handlers on delete""" if evt.GetId() == self.GetId(): ed_msg.Unsubscribe(self.OnBookmark) evt.Skip()
def __del__(self): """Cleanup and unsubscribe from messages""" ed_msg.Unsubscribe(self.OnThemeChange)
def __del__(self): ed_msg.Unsubscribe(self.OnUpdateTabs) super(EdShelfBook, self).__del__()
def OnDestroy(self, evt): """Clean up message handlers on destroy""" if evt.GetId() == self.GetId(): ed_msg.Unsubscribe(self._UpdateCwd) evt.Skip()
def __del__(self): """Unsubscribe from messages""" ed_msg.Unsubscribe(self.OnProgress) ed_msg.Unsubscribe(self.OnUpdateText) ed_msg.Unsubscribe(self.OnUpdateDoc) super(EdStatBar, self).__del__()
def OnDestroy(self, event): """Cleanup message handlers""" if self: ed_msg.Unsubscribe(self.OnActivateMsg) self.DoOnDestroy() event.Skip()
def __del__(self): """Unsubscribe from messages""" ed_msg.Unsubscribe(self.OnPageChange) ed_msg.Unsubscribe(self.OnThemeChanged)
def OnDestroy(self, evt): if evt.GetId() == self.GetId(): ed_msg.Unsubscribe(self.OnUpdateTabs) evt.Skip()
def OnDestroy(self, evt): """Unregister from receiving any more log messages""" if evt.GetId() == self.GetId(): ed_msg.Unsubscribe(self.UpdateLog) evt.Skip()
def __del__(self): """Save the config before we get destroyed""" self._config.Save() ed_msg.Unsubscribe(self.OnUpdateFont)
def OnDestroy(self, evt): """Cleanup and unsubscribe from messages""" if evt.GetId() == self.GetId(): ed_msg.Unsubscribe(self.OnThemeChange)
def __del__(self): """Cleanup message handlers""" ed_msg.Unsubscribe(self._OnShowFindMsg)
def OnDestroy(self, evt): if self and evt.Id == self.Id: ed_msg.Unsubscribe(self.OnThemeChanged) ed_msg.Unsubscribe(self.OnUpdatePosCache) ed_msg.Unsubscribe(self.OnGetOpenFiles) ed_msg.UnRegisterCallback(self.OnDocPointerRequest)
def OnDestroy(self, evt): if evt.GetId() == self.GetId(): ed_msg.Unsubscribe(self.OnThemeChange) evt.Skip()
def _OnDestroy(self, evt): """Unsubscribe message handlers on delete""" if self and evt.GetEventObject() is self: ed_msg.Unsubscribe(self.OnUpdateFont) evt.Skip()
def __del__(self): ed_msg.Unsubscribe(self.OnThemeChange)
def OnDestroy(self, evt): """Destructor""" if self: ed_msg.Unsubscribe(self.OnProjectAdded) ed_msg.Unsubscribe(self.OnProjectRemoved)
def _OnDestroy(self, evt): if self and evt.GetEventObject is self: ed_msg.Unsubscribe(self._OnFontChange)
def OnDestroy(self, evt): if self and evt.GetEventObject() is self: ed_msg.Unsubscribe(self.OnUpdateFont)
def __del__(self): """Unsubscribe from messages on del""" ed_msg.Unsubscribe(self.OnUpdateTree) ed_msg.Unsubscribe(self.OnThemeChange) ed_msg.Unsubscribe(self.OnUpdateFont)
def __del__(self): ed_msg.Unsubscribe(self.OnThemeChange) self._sctrl.RemoveClient(self)
def OnDestroy(self, evt): """Cleanup message handlers on destroy""" if evt.GetId() == self.GetId(): ed_msg.Unsubscribe(self.OnThemeChange) self._sctrl.RemoveClient(self)
def __del__(self): ed_msg.Unsubscribe(self._UpdateCwd)
def OnDestroy(self, evt): """Cleanup message handlers""" if self: ed_msg.Unsubscribe(self.OnConfigMsg) evt.Skip()
def __del__(self): ed_msg.Unsubscribe(self.OnThemeChanged) ed_msg.Unsubscribe(self.OnUpdatePosCache) ed_msg.UnRegisterCallback(self.OnDocPointerRequest)
def __del__(self): """Unsubscribe from messages""" ed_msg.Unsubscribe(self.OnProgress) ed_msg.Unsubscribe(self.OnUpdateText) ed_msg.Unsubscribe(self.OnUpdateDoc) ProgressStatusBar.__del__(self)
def __del__(self): ed_msg.Unsubscribe(self.OnThemeChanged) ed_msg.Unsubscribe(self.OnUpdateFont)
def __del__(self): """Unregister from recieving any more log messages""" ed_msg.Unsubscribe(self.UpdateLog, ed_msg.EDMSG_LOG_ALL) super(LogBuffer, self).__del__()
def tearDown(self): ed_msg.Unsubscribe(self.OnConfigMsg)