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

Method _createWaitPanel

python/install/InstallWindow.py:113–126  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

111 self.installWindowBodyPanel.SetSizer(self.installWindowBodySizer)
112
113 def _createWaitPanel(self):
114 self.panelWait = wx.Panel(self.installWindowBodyPanel, -1)
115 self.installWindowBodySizer.Add(self.panelWait, 1, wx.EXPAND)
116 self.panelWait.Hide()
117 ## FIXME: Remove those magic numbers
118 self.animation_wait = wx.adv.AnimationCtrl(self.panelWait, -1,
119 pos=((800 - 128) / 2, (550 - 128) / 2 - 71))
120 self.animation_wait.LoadFile(Variables.playonlinux_env + "/resources/images/install/wait.gif")
121 self.percentageText = wx.StaticText(self.panelWait, -1, "", ((800 - 30) / 2, (550 - 128) / 2 + 128 + 10 - 71),
122 wx.DefaultSize)
123 self.percentageText.SetFont(self.fontTitle)
124 self.timer = wx.Timer(self, 1)
125 self.Bind(wx.EVT_TIMER, self.TimerAction, self.timer)
126 self.timer.Start(200)
127
128 def _createInstallWindowCategoryContentPanel(self):
129 self.installWindowCategoryContentPanel = wx.Panel(self.installWindowBodyPanel, -1)

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected