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

Method __init__

gui/builtinAdditionPanes/boosterView.py:65–79  ·  view source on GitHub ↗
(self, parent)

Source from the content-addressed store, hash-verified

63 ]
64
65 def __init__(self, parent):
66 d.Display.__init__(self, parent, style=wx.BORDER_NONE)
67
68 self.lastFitId = None
69
70 self.mainFrame.Bind(GE.FIT_CHANGED, self.fitChanged)
71 self.mainFrame.Bind(ITEM_SELECTED, self.addItem)
72
73 self.Bind(wx.EVT_LEFT_DCLICK, self.onLeftDoubleClick)
74 self.Bind(wx.EVT_LEFT_DOWN, self.click)
75 self.Bind(wx.EVT_KEY_UP, self.kbEvent)
76
77 self.SetDropTarget(BoosterViewDrop(self.handleListDrag))
78
79 self.Bind(wx.EVT_CONTEXT_MENU, self.spawnMenu)
80
81 def handleListDrag(self, x, y, data):
82 """

Callers 1

__init__Method · 0.45

Calls 1

BoosterViewDropClass · 0.85

Tested by

no test coverage detected