예제 #1
0
 def __init__(self, notebook):
     wx.TextCtrl.__init__(self,
                          notebook,
                          style=wx.TE_READONLY | wx.TE_MULTILINE)
     self._create_ui()
     self._add_to_notebook(notebook)
     self.SetFont(widgets.Font().fixed_log)
예제 #2
0
파일: log.py 프로젝트: lf1687/MyTools
 def __init__(self, notebook, log):
     wx.Panel.__init__(self, notebook)
     self._output = wx.TextCtrl(self,
                                style=wx.TE_READONLY | wx.TE_MULTILINE)
     self._log = log
     self._add_to_notebook(notebook)
     self.SetFont(widgets.Font().fixed_log)
     self.Bind(wx.EVT_SIZE, self.OnSize)
예제 #3
0
 def __init__(self, notebook, log):
     wx.Panel.__init__(self, notebook)
     self._output = wx.TextCtrl(self,
                                style=wx.TE_READONLY | wx.TE_MULTILINE
                                | wx.TE_NOHIDESEL)
     self._output.Bind(wx.EVT_KEY_DOWN, self.OnKeyDown)
     self._log = log
     self._notebook = notebook
     self._add_to_notebook(notebook)
     self.SetFont(widgets.Font().fixed_log)
     self.Bind(wx.EVT_SIZE, self.OnSize)