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

Method __init__

gui/builtinAdditionPanes/fighterView.py:45–50  ·  view source on GitHub ↗
(self, dropFn, *args, **kwargs)

Source from the content-addressed store, hash-verified

43
44class FighterViewDrop(wx.DropTarget):
45 def __init__(self, dropFn, *args, **kwargs):
46 super(FighterViewDrop, self).__init__(*args, **kwargs)
47 self.dropFn = dropFn
48 # this is really transferring an EVE itemID
49 self.dropData = wx.TextDataObject()
50 self.SetDataObject(self.dropData)
51
52 def OnData(self, x, y, t):
53 if self.GetData():

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected