Logo Search packages:      
Sourcecode: namebench version File versions  Download package

def libnamebench::tk::MainWindow::MessageHandler (   self,
  event 
)

Pinged when there is a new message in our queue to handle.

Definition at line 241 of file tk.py.

00241                                  :
    """Pinged when there is a new message in our queue to handle."""
    while global_message_queue.qsize():
      msg = global_message_queue.get()
      if msg.error:
        self.ErrorPopup(msg.message, msg.error)
      elif msg.enable_button == False:
        self.UpdateRunState(running=True)
      elif msg.enable_button == True:
        self.UpdateRunState(running=False)
      self.UpdateStatus(msg.message, count=msg.count, total=msg.total, error=msg.error)

  def UpdateStatus(self, message, count=None, total=None, error=None, debug=False):


Generated by  Doxygen 1.6.0   Back to index