def __showPhoneGui(self):
     if self.toonScale:
         self.sendUpdate('setNewScale', [self.toonScale[0], self.toonScale[1], self.toonScale[2]])
     self.phoneGui = CatalogScreen.CatalogScreen(phone=self, doneEvent=self.phoneGuiDoneEvent)
     self.phoneGui.show()
     self.accept(self.phoneGuiDoneEvent, self.__handlePhoneDone)
     self.accept('phoneAsleep', self.__handlePhoneAsleep)
Exemple #2
0
    def __showPhoneGui(self):
        # This is a fine time to tell the AI the new scale information
        # to distributed to anyone who walks in later.
        if self.toonScale:
            self.sendUpdate("setNewScale", [self.toonScale[0], self.toonScale[1], self.toonScale[2]])

        self.phoneGui = CatalogScreen.CatalogScreen(
            phone=self, doneEvent=self.phoneGuiDoneEvent)
        self.phoneGui.show()
        self.accept(self.phoneGuiDoneEvent, self.__handlePhoneDone)
        self.accept('phoneAsleep', self.__handlePhoneAsleep)