예제 #1
0
 def run(self, para=None):
     if para['name'] == 'All':
         for i in TextLogManager.get_titles():
             TextLogManager.close(i)
     else:
         TextLogManager.close(para['name'])
예제 #2
0
 def run(self, para = None):
     wx.CallAfter(pub.sendMessage, 'macroseditor', 
         title = TextLogManager.name('Macros Editor'))
예제 #3
0
 def load(self):
     TextKiller.para = {'name': 'All'}
     titles = ['All'] + TextLogManager.get_titles()
     TextKiller.view = [(list, titles, str, 'Name', 'name', 'selected')]
     return True
예제 #4
0
 def run(self, para = None):
     if TextLogManager.get('Recorder')==None:
         wx.CallAfter(pub.sendMessage, 'macroseditor', title = 'Recorder')
예제 #5
0
 def run(self, para=None):
     f = lambda: MacrosEditor(TextLogManager.name('Macros Editor')).Show()
     wx.CallAfter(f)
예제 #6
0
 def run(self, para=None):
     if TextLogManager.get('Recorder') == None:
         f = lambda: MacrosEditor('Recorder').Show()
         wx.CallAfter(f)
예제 #7
0
 def run(self, para=None):
     MacrosEditor(TextLogManager.name('Macros Editor')).Show()
예제 #8
0
 def run(self, para=None):
     if TextLogManager.get('Recorder') == None:
         MacrosEditor('Recorder').Show()