title: Update status bar when receiving message?
body: <p>I am quite new to GUI design and struggle to communicae with my core application. </p>
  
  <p>I have a Thread that I use to run my core code. It is started when the user clicks on a start button.
  On the other side,  I have my gui; and I would like it to be updated during the process. </p>
  
  <p>My Thread currently populates a Queue, and I want to set the messages of this Queue in the status bar.</p>
  
  <p>Currently, I use : </p>
  
  <pre><code>     while not self.stopPull:
           try:
               print self.mess_queue.get() # would set my status bar
           except Queue.Empty:
              continue
  </code></pre>
  
  <p>The Thread code is really basic:</p>
  
  <pre><code>    while not self.stoprequest.isSet():
              bla()#some processing . . .
              self.result_q.put("bla")
              bla()#some other processing . . .
              self.result_q.put("blabla")
  </code></pre>
  
  <p>Thing is, this is of course blocking . . .</p>
  
  <p>So do I have to create another Thread to listen to new messages in my Queue, or is there a way to have some kind of interruptions as a new message is pulled ?</p>
  
  <p>Once again, I am completely ignorant with communication process, and I must miss some basic keywords, because I couldn't find documentation on the subject on the web. </p>
  
  <p>Thank you for your hel ! </p>