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

Method _createAppDescription

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

Source from the content-addressed store, hash-verified

190 self.appNavigationSizer.AddSpacer(10)
191
192 def _createAppDescription(self):
193 appDescriptionPanel = wx.Panel(self.appNavigationPanel, -1)
194 self.appNavigationSizer.Add(appDescriptionPanel, 1, wx.EXPAND)
195 self.appNavigationSizer.AddSpacer(10)
196
197 appDescriptionSizer = wx.BoxSizer(wx.VERTICAL)
198
199 self.descriptionContentHtmlBox = PyClickableHtmlWindow(appDescriptionPanel, 107, style=Variables.widget_borders)
200 appDescriptionSizer.Add(self.descriptionContentHtmlBox, 1, wx.EXPAND)
201
202 self.descriptionLoaderPanel = wx.Panel(appDescriptionPanel, -1, style=Variables.widget_borders)
203 self.descriptionLoaderPanel.SetBackgroundColour((255, 255, 255))
204 self.animation = wx.adv.AnimationCtrl(self.descriptionLoaderPanel, -1, pos=(90, 100))
205 self.animation.LoadFile(Variables.playonlinux_env + "/resources/images/install/wait_mini.gif")
206 self.animation.Hide()
207 self.descriptionLoaderPanel.Hide()
208
209 self.image = wx.StaticBitmap(appDescriptionPanel, 108,
210 wx.Bitmap(Variables.playonlinux_env + "/resources/images/pol_min.png"))
211 self.image.Bind(wx.EVT_LEFT_DOWN, self.sizeUpScreen)
212
213 appDescriptionSizer.Add(self.descriptionLoaderPanel, 1, wx.EXPAND)
214 appDescriptionSizer.AddSpacer(10)
215 appDescriptionSizer.Add(self.image, 0)
216 appDescriptionPanel.SetSizer(appDescriptionSizer)
217
218 def _createButtons(self):
219 buttonsPanel = wx.Panel(self.installWindowBodyPanel, -1)

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected