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

Method activate

gui/builtinContextMenus/additionsExportAll.py:41–45  ·  view source on GitHub ↗
(self, callingWindow, fullContext, i)

Source from the content-addressed store, hash-verified

39 return _t('Copy All {}').format(self.viewSpecMap[self.srcContext][0])
40
41 def activate(self, callingWindow, fullContext, i):
42 items = self.viewSpecMap[self.srcContext][1](callingWindow)
43 export = self.viewSpecMap[self.srcContext][2](items)
44 if export:
45 toClipboard(export)
46
47
48AdditionsExportAll.register()

Callers

nothing calls this directly

Calls 1

toClipboardFunction · 0.90

Tested by

no test coverage detected