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

Method __init__

gui/esiFittings.py:508–523  ·  view source on GitHub ↗
(self, parent)

Source from the content-addressed store, hash-verified

506
507class FittingsTreeView(wx.Panel):
508 def __init__(self, parent):
509 wx.Panel.__init__(self, parent, id=wx.ID_ANY)
510 self.parent = parent
511 pmainSizer = wx.BoxSizer(wx.VERTICAL)
512
513 tree = self.fittingsTreeCtrl = wx.TreeCtrl(self, wx.ID_ANY, style=wx.TR_DEFAULT_STYLE | wx.TR_HIDE_ROOT)
514 pmainSizer.Add(tree, 1, wx.EXPAND | wx.ALL, 0)
515
516 self.root = tree.AddRoot("Fits")
517 self.populateSkillTree(None)
518
519 self.Bind(wx.EVT_TREE_SEL_CHANGED, self.displayFit)
520
521 self.SetSizer(pmainSizer)
522
523 self.Layout()
524
525 def populateSkillTree(self, data):
526 if data is None:

Callers

nothing calls this directly

Calls 2

populateSkillTreeMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected