Example #1
0
 def threadSafeLogStatus(self, string):
     """ 
     Note: This should be called with with wx.CallAfter to update a GUI element.
     Pre: Takes in a string.
     Post: Displays that string in the log status box in the log tab of the gui.
     """
     msg = als.timeStamp() + " " + string
     val = self.logBox.GetValue()
     self.logBox.SetValue(val + msg + "\n")
     self.logBox.SetInsertionPointEnd()
Example #2
0
 def sendToStatus(self, string):
     send = als.timeStamp()
     send += " " + string
     wx.CallAfter(self.threadSafeScriptingStatus, send)