| 66 | self.cats_links[name].SetBackgroundColour((255, 255, 255)) |
| 67 | |
| 68 | def setWaitState(self, isWaiting): |
| 69 | if isWaiting: |
| 70 | self.installWindowCategoryContentPanel.Hide() |
| 71 | self.panelWait.Show() |
| 72 | self.manualInstall.Raise() |
| 73 | self.animation_wait.Play() |
| 74 | self.installButton.Hide() |
| 75 | self.updateButton.Hide() |
| 76 | else: |
| 77 | self.installWindowCategoryContentPanel.Show() |
| 78 | self.manualInstall.Raise() |
| 79 | self.panelWait.Hide() |
| 80 | self.animation_wait.Stop() |
| 81 | self.installButton.Show() |
| 82 | self.updateButton.Show() |
| 83 | |
| 84 | self.Layout() |
| 85 | |
| 86 | def _createHeader(self): |
| 87 | self.installWindowHeader = wx.Panel(self, -1, size=(802, 69)) |