MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / __init__

Method __init__

gui/builtinStatsViews/resourcesViewFull.py:40–44  ·  view source on GitHub ↗
(self, parent)

Source from the content-addressed store, hash-verified

38 contexts = ["drone", "fighter", "cargo"]
39
40 def __init__(self, parent):
41 StatsView.__init__(self)
42 self.parent = parent
43 self.mainFrame = gui.mainFrame.MainFrame.getInstance()
44 self.mainFrame.additionsPane.notebook.Bind(EVT_NOTEBOOK_PAGE_CHANGED, self.pageChanged)
45
46 def pageChanged(self, event):
47 page = self.mainFrame.additionsPane.getName(event.GetSelection())

Callers

nothing calls this directly

Calls 1

getInstanceMethod · 0.45

Tested by

no test coverage detected