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

Method handleListDrag

gui/builtinAdditionPanes/commandView.py:98–106  ·  view source on GitHub ↗

Handles dragging of items from various pyfa displays which support it data is list with two indices: data[0] is hard-coded str of originating source data[1] is typeID or index of data we want to manipulate

(x, y, data)

Source from the content-addressed store, hash-verified

96
97 @staticmethod
98 def handleListDrag(x, y, data):
99 """
100 Handles dragging of items from various pyfa displays which support it
101
102 data is list with two indices:
103 data[0] is hard-coded str of originating source
104 data[1] is typeID or index of data we want to manipulate
105 """
106 pass
107
108 def kbEvent(self, event):
109 keycode = event.GetKeyCode()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected