interrupt_gui.TextCtrlWriter Class Reference
Inheritance diagram for interrupt_gui.TextCtrlWriter:

Pulic Methods

def __init__ (self, textCtrl)
 
def write (self, text)
 
def flush (self)
 

Public Attributes

 textCtrl
 

Detailed Description

Definition at line 15 of file interrupt_gui.py.

Constructors

◆ __init__()

def interrupt_gui.TextCtrlWriter.__init__ (   self,
  textCtrl 
)

Definition at line 16 of file interrupt_gui.py.

16 def __init__(self, textCtrl):
17 self.textCtrl = textCtrl
18

Methods

◆ flush()

def interrupt_gui.TextCtrlWriter.flush (   self)

Definition at line 22 of file interrupt_gui.py.

References interrupt_gui.TextCtrlWriter.textCtrl.

22 def flush(self):
23 self.textCtrl.Update()
24 self.textCtrl.Refresh()
25

◆ write()

def interrupt_gui.TextCtrlWriter.write (   self,
  text 
)

Definition at line 19 of file interrupt_gui.py.

References interrupt_gui.TextCtrlWriter.textCtrl.

19 def write(self, text):
20 self.textCtrl.AppendText(text)
21

Member Data Documentation

◆ textCtrl

interrupt_gui.TextCtrlWriter.textCtrl