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

Method __init__

gui/builtinAdditionPanes/commandView.py:49–54  ·  view source on GitHub ↗
(self, dropFn, *args, **kwargs)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected