Beispiel #1
0
 def __del__(self):
     ed_msg.Unsubscribe(self.OnPageChanged)
     ed_msg.Unsubscribe(self.OnThemeChanged)
     ed_msg.Unsubscribe(self.OnConfigExit)
     super(LaunchWindow).__del__()
Beispiel #2
0
 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)
Beispiel #4
0
 def __del__(self):
     ed_msg.Unsubscribe(self.OnUpdateTabs)
     super(EdShelfBook, self).__del__()
Beispiel #5
0
 def OnDestroy(self, evt):
     """Clean up message handlers on destroy"""
     if evt.GetId() == self.GetId():
         ed_msg.Unsubscribe(self._UpdateCwd)
     evt.Skip()
Beispiel #6
0
 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__()
Beispiel #7
0
 def OnDestroy(self, event):
     """Cleanup message handlers"""
     if self:
         ed_msg.Unsubscribe(self.OnActivateMsg)
         self.DoOnDestroy()
     event.Skip()
Beispiel #8
0
 def __del__(self):
     """Unsubscribe from messages"""
     ed_msg.Unsubscribe(self.OnPageChange)
     ed_msg.Unsubscribe(self.OnThemeChanged)
Beispiel #9
0
 def OnDestroy(self, evt):
     if evt.GetId() == self.GetId():
         ed_msg.Unsubscribe(self.OnUpdateTabs)
     evt.Skip()
Beispiel #10
0
 def OnDestroy(self, evt):
     """Unregister from receiving any more log messages"""
     if evt.GetId() == self.GetId():
         ed_msg.Unsubscribe(self.UpdateLog)
     evt.Skip()
Beispiel #11
0
 def __del__(self):
     """Save the config before we get destroyed"""
     self._config.Save()
     ed_msg.Unsubscribe(self.OnUpdateFont)
Beispiel #12
0
 def OnDestroy(self, evt):
     """Cleanup and unsubscribe from messages"""
     if evt.GetId() == self.GetId():
         ed_msg.Unsubscribe(self.OnThemeChange)
Beispiel #13
0
 def __del__(self):
     """Cleanup message handlers"""
     ed_msg.Unsubscribe(self._OnShowFindMsg)
Beispiel #14
0
 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)
Beispiel #15
0
 def OnDestroy(self, evt):
     if evt.GetId() == self.GetId():
         ed_msg.Unsubscribe(self.OnThemeChange)
     evt.Skip()
Beispiel #16
0
 def _OnDestroy(self, evt):
     """Unsubscribe message handlers on delete"""
     if self and evt.GetEventObject() is self:
         ed_msg.Unsubscribe(self.OnUpdateFont)
     evt.Skip()
Beispiel #17
0
 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)
Beispiel #19
0
 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)
Beispiel #21
0
 def __del__(self):
     """Unsubscribe from messages on del"""
     ed_msg.Unsubscribe(self.OnUpdateTree)
     ed_msg.Unsubscribe(self.OnThemeChange)
     ed_msg.Unsubscribe(self.OnUpdateFont)
Beispiel #22
0
 def __del__(self):
     ed_msg.Unsubscribe(self.OnThemeChange)
     self._sctrl.RemoveClient(self)
Beispiel #23
0
 def OnDestroy(self, evt):
     """Cleanup message handlers on destroy"""
     if evt.GetId() == self.GetId():
         ed_msg.Unsubscribe(self.OnThemeChange)
         self._sctrl.RemoveClient(self)
Beispiel #24
0
 def __del__(self):
     ed_msg.Unsubscribe(self._UpdateCwd)
Beispiel #25
0
 def OnDestroy(self, evt):
     """Cleanup message handlers"""
     if self:
         ed_msg.Unsubscribe(self.OnConfigMsg)
     evt.Skip()
Beispiel #26
0
 def __del__(self):
     ed_msg.Unsubscribe(self.OnThemeChanged)
     ed_msg.Unsubscribe(self.OnUpdatePosCache)
     ed_msg.UnRegisterCallback(self.OnDocPointerRequest)
Beispiel #27
0
 def __del__(self):
     """Unsubscribe from messages"""
     ed_msg.Unsubscribe(self.OnProgress)
     ed_msg.Unsubscribe(self.OnUpdateText)
     ed_msg.Unsubscribe(self.OnUpdateDoc)
     ProgressStatusBar.__del__(self)
Beispiel #28
0
 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__()
Beispiel #30
0
 def tearDown(self):
     ed_msg.Unsubscribe(self.OnConfigMsg)