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

Method exportPatterns

gui/targetProfileEditor.py:362–366  ·  view source on GitHub ↗

Event fired when export to clipboard button is clicked

(self, event)

Source from the content-addressed store, hash-verified

360 self.stNotice.SetLabel(_t("Could not import from clipboard"))
361
362 def exportPatterns(self, event):
363 """Event fired when export to clipboard button is clicked"""
364 sTR = TargetProfile.getInstance()
365 toClipboard(sTR.exportPatterns())
366 self.stNotice.SetLabel(_t("Profiles exported to clipboard"))
367
368 def kbEvent(self, event):
369 if event.GetKeyCode() == wx.WXK_ESCAPE and event.GetModifiers() == wx.MOD_NONE:

Callers

nothing calls this directly

Calls 4

toClipboardFunction · 0.90
SetLabelMethod · 0.80
_tFunction · 0.50
getInstanceMethod · 0.45

Tested by

no test coverage detected