interrupt_gui.TextCtrlWriter Class Reference
Pulic Methods | |
def | __init__ (self, text_ctrl) |
def | write (self, text) |
def | flush (self) |
Public Attributes | |
text_ctrl | |
Detailed Description
Definition at line 15 of file interrupt_gui.py.
Constructors
◆ __init__()
def interrupt_gui.TextCtrlWriter.__init__ | ( | self, | |
text_ctrl | |||
) |
Definition at line 16 of file interrupt_gui.py.
16 def __init__(self, text_ctrl):
17 self.text_ctrl = text_ctrl
18
Methods
◆ flush()
def interrupt_gui.TextCtrlWriter.flush | ( | self | ) |
Definition at line 22 of file interrupt_gui.py.
22 def flush(self):
23 self.text_ctrl.Update()
24 self.text_ctrl.Refresh()
25
26
References interrupt_gui.TextCtrlWriter.text_ctrl.
◆ write()
def interrupt_gui.TextCtrlWriter.write | ( | self, | |
text | |||
) |
Definition at line 19 of file interrupt_gui.py.
19 def write(self, text):
20 self.text_ctrl.AppendText(text)
21
References interrupt_gui.TextCtrlWriter.text_ctrl.
Member Data Documentation
◆ text_ctrl
interrupt_gui.TextCtrlWriter.text_ctrl |
Definition at line 17 of file interrupt_gui.py.
Referenced by interrupt_gui.TextCtrlWriter.flush(), and interrupt_gui.TextCtrlWriter.write().