def processOutcoming(self):
        """Handle all jobs currently in qOut, if any"""
        
        #        print "processOutcoming called"
        if self.currentJobId!=None:
            path=str(self.currentJobId)
            treeiter=self.treestore1.get_iter(path)
            self.treestore1.set_value(treeiter,2,'processing')

        
        if self.qIn.qsize() or self.currentJobId!=None:
            #self.progressbar1=self.xml.get_widget('progressbar1')
            self.progressbar1.show()
            self.progressbar1.pulse()
        else:
            self.progressbar1.hide()

        while self.qOut.qsize():
            try:
                job=self.qOut.get(0)
#                print "We have to deal with job",job.label
                self.processResult(job)
            except Queue.Empty:
                print "qOut is empty"
                pass

        return gtk.TRUE
Handle all jobs currently in qOut, if any
recipes/Python/409244_combining_GUasynchronous_IO_threads/recipe-409244.py