tools/utilities/pythonlibs/audio/view_audio.py
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)
 show output message, or queue it if we are on a background thread 
show output message, or queue it if we are on a background thread
show output message or queue it if we are on a background thread
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") 
        self.after(self.output_clear_time, self.clear_output)
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" ) self . after ( self . output_clear_time , self . clear_output )
show output message, or queue it if we are on a background thread
show output message or queue it if we are on a background thread
""" show output message, or queue it if we are on a background thread """ # scroll to end
self
message