示例#1
0
 def __init__(self, title='Macros Editor'):
     TextLog.__init__(self, title)
     m = wx.Menu()
     m_run = m.Append(-1, 'Run Macros\tF5')
     m_line = m.Append(-1, 'Run Line\tF6')
     self.menuBar.Insert(2, m, 'Run(&R)')
     self.Bind(wx.EVT_MENU, self.run, m_run)
     self.Bind(wx.EVT_MENU, self.run_line, m_line)
示例#2
0
文件: IPy.py 项目: kaiser34/imagepy
def write(cont, title='ImagePy'):
    from ui.logwindow import TextLog
    TextLog.write(cont, title)