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

Method __init__

gui/builtinItemStatsViews/itemEffects.py:13–26  ·  view source on GitHub ↗
(self, parent, stuff, item)

Source from the content-addressed store, hash-verified

11
12class ItemEffects(wx.Panel):
13 def __init__(self, parent, stuff, item):
14 wx.Panel.__init__(self, parent)
15 self.item = item
16
17 mainSizer = wx.BoxSizer(wx.VERTICAL)
18
19 self.effectList = AutoListCtrl(self, wx.ID_ANY,
20 style=wx.LC_REPORT | wx.LC_SINGLE_SEL | wx.LC_VRULES | wx.NO_BORDER)
21 mainSizer.Add(self.effectList, 1, wx.ALL | wx.EXPAND, 0)
22 self.SetSizer(mainSizer)
23
24 self.Bind(wx.EVT_LIST_ITEM_ACTIVATED, self.OnClick, self.effectList)
25
26 self.PopulateList()
27
28 def PopulateList(self):
29

Callers

nothing calls this directly

Calls 2

PopulateListMethod · 0.95
AutoListCtrlClass · 0.85

Tested by

no test coverage detected