savedocumentasΒΆ
Save the current document
Arguments:
file The gproject file to save (or nil to open a file dialog)warn If true, warn the user when overwriting an existing project filedontaddtorecent If true, the file won't be added to the recent files
Return:
success true if the file was save (false when an error occured or the user canceled)