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

Method _createHeader

python/setupwindow/POL_SetupFrame.py:75–85  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

73 self.Bind(wx.EVT_CLOSE, self.Cancel)
74
75 def _createHeader(self):
76 self.header = wx.Panel(self, -1, size=(522, 65))
77 self.header.SetBackgroundColour((255, 255, 255))
78 self.top_image = wx.StaticBitmap(self.header, -1, self.small_image, (self.small_x, 0), wx.DefaultSize)
79 self.titre_header = wx.StaticText(self.header, -1, _('{0} Wizard').format(os.environ["APPLICATION_TITLE"]),
80 pos=(5, 5), size=(340, 356), style=wx.ST_NO_AUTORESIZE)
81 self.titre_header.SetFont(self.fontTitle)
82 self.titre_header.SetForegroundColour((0, 0, 0))
83 self.mainSizer.Add(self.header, 0, wx.EXPAND)
84 self.titre = wx.StaticText(self.header, -1, "", pos=(20, 30), size=(340, 356), style=wx.ST_NO_AUTORESIZE)
85 self.titre.SetForegroundColour((0, 0, 0))
86
87 def _createFooter(self):
88 self.footer = wx.Panel(self, -1)

Callers 1

_createUIMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected