MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / OnData

Method OnData

gui/builtinAdditionPanes/cargoView.py:41–50  ·  view source on GitHub ↗
(self, x, y, t)

Source from the content-addressed store, hash-verified

39 self.SetDataObject(self.dropData)
40
41 def OnData(self, x, y, t):
42 if self.GetData():
43 dragged_data = DragDropHelper.data
44
45 if dragged_data is None:
46 return t
47
48 data = dragged_data.split(':')
49 self.dropFn(x, y, data)
50 return t
51
52
53# @todo: Was copied form another class and modified. Look through entire file, refine

Callers

nothing calls this directly

Calls 1

GetDataMethod · 0.80

Tested by

no test coverage detected