parameters: (self, message)
docstring: show output message, or queue it if we are on a background thread
docstring_summary: show output message, or queue it if we are on a background thread
docstring_tokens: show output message or queue it if we are on a background thread
function: def show_output(self, message):
          """ show output message, or queue it if we are on a background thread """
          if self.main_thread != get_ident():
              self.message_queue += [message]
              return
  
          for line in str(message).split('\n'):
              self.output_text.insert(END, "{}\n".format(line))
  
          self.output_text.see("end")  # scroll to end
          self.after(self.output_clear_time, self.clear_output)
function_tokens: def show_output ( self , message ) : if self . main_thread != get_ident ( ) : self . message_queue += [ message ] return for line in str ( message ) . split ( '\n' ) : self . output_text . insert ( END , "{}\n" . format ( line ) ) self . output_text . see ( "end" ) # scroll to end self . after ( self . output_clear_time , self . clear_output )