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

def harpia::harpiagcfrontend::S2iHarpiaFrontend::SetStatusMessage (   self,
  a_sStatus,
  a_bGood 
)

Receives a status message and shows it in the StatusBar.

Definition at line 573 of file harpiagcfrontend.py.

00573                                                     :
            """
            Receives a status message and shows it in the StatusBar.
            """
            #print a_bGood
            if a_bGood:
                  self.widgets['ProcessImage'].set_from_stock( gtk.STOCK_YES, gtk.ICON_SIZE_MENU  )
            else:
                  self.widgets['ProcessImage'].set_from_stock( gtk.STOCK_NO, gtk.ICON_SIZE_MENU  )
            self.widgets['StatusLabel'].set_text(a_sStatus)
            while gtk.events_pending():
                  gtk.main_iteration(False)

      #----------------------------------------------------------------------



Generated by  Doxygen 1.6.0   Back to index