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

Method OnData

gui/builtinViews/fittingView.py:126–136  ·  view source on GitHub ↗
(self, x, y, t)

Source from the content-addressed store, hash-verified

124 self.SetDataObject(self.dropData)
125
126 def OnData(self, x, y, t):
127 if self.GetData():
128 dragged_data = DragDropHelper.data
129 # pyfalog.debug("fittingView: recieved drag: " + self.dropData.GetText())
130
131 if dragged_data is None:
132 return t
133
134 data = dragged_data.split(':')
135 self.dropFn(x, y, data)
136 return t
137
138
139class FittingView(d.Display):

Callers

nothing calls this directly

Calls 1

GetDataMethod · 0.80

Tested by

no test coverage detected