def Open(self): SwitchWindow(self.masterFrame, self.root) self.Refresh() if self.refreshingThread == None: self.refreshingThread = Thread('refreshingThread', self.SensorRefresh, 0.5) self.refreshingThread.start()
def Open(self): # Appel de la fonction de changement de page depuis GUI_utils.py SwitchWindow(self.masterFrame, self.root) # Rafraichissement des données de la page self.RefreshSelection() self.Refresh()
def Open(self): #retour = Popup(self, 2, texte= "ATTENTION: Ce menu est reservé au personnel habilité", valider= "Continuer", fermer= "Retour") #if retour == False: # return SwitchWindow(self.masterFrame, self.root) self.Refresh() if self.refreshingThread == None: self.refreshingThread = Thread('refreshingThread', self.SensorRefresh, 0.1) self.refreshingThread.start()
def Open(self): if self.root.activeFrame == self.root.mainMenuWindow.masterFrame: retour = Popup( self, 2, texte="ATTENTION: Ce menu est réservé aux personnel habilité.", valider="Continuer", fermer="Retour") if retour == False: return SwitchWindow(self.masterFrame, self.root) RefreshOptionMenu(self)
def Open(self): self.robotSelected = self.root.mainMenuWindow.robotSelected if self.root.activeFrame == self.root.mainMenuWindow.masterFrame: retour = Popup(self, 2, texte="Démarrer le diagnostic du robot " + str(self.robotSelected.get()) + " ?", valider="Oui", fermer="Non") if retour == False: return SwitchWindow(self.masterFrame, self.root) self.Refresh() self.AutoDiag()
def Open(self): # Ouverture de la page SwitchWindow(self.masterFrame, self.root) RefreshOptionMenu(self)
def Open(self): SwitchWindow(self.masterFrame, self.root)
def Open(self): SwitchWindow(self.masterFrame, self.root) RefreshOptionMenu(self)