MCPcopy Create free account
hub / github.com/PlayOnLinux/POL-POM-4 / setWaitState

Method setWaitState

python/install/InstallWindow.py:68–84  ·  view source on GitHub ↗
(self, isWaiting)

Source from the content-addressed store, hash-verified

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))

Callers 1

StatusReadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected