Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/d/e/deepin-talk-HEAD/src/dtalk/controls/trayicon.py   deepin-talk(Download)
    def flash(self):    
        if self._flashFlag:
            self.setIcon(QtGui.QIcon())
        else:    
            self.setIcon(self.currentIcon)
    def stilledTrayicon(self, *args, **kwargs):
        self.flashTimer.stop()
        self.currentIcon = self.defaultIcon
        self.setIcon(self.defaultIcon)
 

src/d/e/deepin-translator-HEAD/src/system_tray.py   deepin-translator(Download)
    def set_trayicon(self):
        self.setIcon(self.get_trayicon())
 
    def get_trayicon(self):
        if is_true(setting_config.get_trayicon_config("pause")):