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

Method __init__

gui/builtinAdditionPanes/cargoView.py:34–39  ·  view source on GitHub ↗
(self, dropFn, *args, **kwargs)

Source from the content-addressed store, hash-verified

32
33class CargoViewDrop(wx.DropTarget):
34 def __init__(self, dropFn, *args, **kwargs):
35 super(CargoViewDrop, self).__init__(*args, **kwargs)
36 self.dropFn = dropFn
37 # this is really transferring an EVE itemID
38 self.dropData = wx.TextDataObject()
39 self.SetDataObject(self.dropData)
40
41 def OnData(self, x, y, t):
42 if self.GetData():

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected