MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / __init__

Method __init__

graphs/gui/lists.py:271–279  ·  view source on GitHub ↗
(self, graphFrame, parent)

Source from the content-addressed store, hash-verified

269 'Base Name')
270
271 def __init__(self, graphFrame, parent):
272 super().__init__(graphFrame, parent)
273
274 self.Bind(wx.EVT_CONTEXT_MENU, self.spawnMenu)
275
276 fit = Fit.getInstance().getFit(self.graphFrame.mainFrame.getActiveFit())
277 if fit is not None:
278 self.appendItem(fit)
279 self.updateView()
280
281 def appendItem(self, item):
282 # Find out least used color

Callers

nothing calls this directly

Calls 6

appendItemMethod · 0.95
getFitMethod · 0.80
__init__Method · 0.45
getInstanceMethod · 0.45
getActiveFitMethod · 0.45
updateViewMethod · 0.45

Tested by

no test coverage detected