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

Method handleDrag

gui/builtinAdditionPanes/projectedView.py:146–152  ·  view source on GitHub ↗
(self, type, fitID)

Source from the content-addressed store, hash-verified

144 event.Skip()
145
146 def handleDrag(self, type, fitID):
147 # Those are drags coming from pyfa sources, NOT builtin wx drags
148 if type == 'fit':
149 activeFit = self.mainFrame.getActiveFit()
150 if activeFit:
151 self.mainFrame.command.Submit(cmd.GuiAddProjectedFitsCommand(
152 fitID=activeFit, projectedFitIDs=[fitID], amount=1))
153
154 @staticmethod
155 def moduleSort(module):

Callers

nothing calls this directly

Calls 1

getActiveFitMethod · 0.45

Tested by

no test coverage detected