def OnClosing(self, event): TextLogManager.close(self.title) event.Skip()
def run(self, para=None): if para['name'] == 'All': for i in TextLogManager.get_titles(): TextLogManager.close(i) else: TextLogManager.close(para['name'])