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

Method saveFile

tests/test_locale/file_dialog.py:80–87  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

78
79 # ----------------------------------------------------------------------
80 def saveFile(self, event):
81 with wx.FileDialog(
82 self, "Save As", "", "",
83 "Python files (*.py)|*.py",
84 wx.FD_SAVE | wx.FD_OVERWRITE_PROMPT
85 ) as dlg:
86 dlg.ShowModal()
87 dlg.GetPath()
88
89
90# Run the program

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected