(cls, cont, title='ImagePy TexLog')
| 7 | """TexLog:derived from wx.core.Frame""" |
| 8 | @classmethod |
| 9 | def write(cls, cont, title='ImagePy TexLog'): |
| 10 | if title not in TextLogManager.windows: |
| 11 | win = cls(title) |
| 12 | win.Show() |
| 13 | TextLogManager.windows[title].append(cont) |
| 14 | |
| 15 | def __init__(self, title='ImagePy TexLog'): |
| 16 | wx.Frame.__init__(self, IPy.curapp,title=title,size=(500,300)) |