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

Method handleDrag

graphs/gui/lists.py:114–120  ·  view source on GitHub ↗
(self, type, fitID)

Source from the content-addressed store, hash-verified

112 event.Skip()
113
114 def handleDrag(self, type, fitID):
115 if type == 'fit' and not self.containsFitID(fitID):
116 sFit = Fit.getInstance()
117 fit = sFit.getFit(fitID)
118 self.appendItem(fit)
119 self.updateView()
120 self.graphFrame.draw()
121
122 def OnLeftDown(self, event):
123 row, _ = self.HitTest(event.Position)

Callers

nothing calls this directly

Calls 6

containsFitIDMethod · 0.95
appendItemMethod · 0.95
updateViewMethod · 0.95
getFitMethod · 0.80
getInstanceMethod · 0.45
drawMethod · 0.45

Tested by

no test coverage detected