Ejemplo n.º 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)
Ejemplo n.º 2
0
def write(cont, title='ImagePy'):
    from ui.logwindow import TextLog
    TextLog.write(cont, title)