wrap.saveFileDialog

wrap.saveFileDialog(title = "Save file", dir = "", filter = "Files (*.*)")

Creates a modal save file dialog

Parameters:

title : string, optional

Will be displayed as dialog title

dir : string, optional

The dialog’s working directory will be set to dir

filter : string, optional

Only files that match the given filter are shown. If you want multiple filters, separate them with ‘;;’, for example: Images (*.png *.xpm *.jpg);;Text files (*.txt);;XML files (*.xml)

Returns:

result : string

Returns file name selected by user. If the user presses Cancel, it returns None