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

Method OnData

gui/builtinAdditionPanes/commandView.py:56–65  ·  view source on GitHub ↗
(self, x, y, t)

Source from the content-addressed store, hash-verified

54 self.SetDataObject(self.dropData)
55
56 def OnData(self, x, y, t):
57 if self.GetData():
58 dragged_data = DragDropHelper.data
59
60 if dragged_data is None:
61 return t
62
63 data = dragged_data.split(':')
64 self.dropFn(x, y, data)
65 return t
66
67
68class CommandView(d.Display):

Callers

nothing calls this directly

Calls 1

GetDataMethod · 0.80

Tested by

no test coverage detected