savedocumentΒΆ
Save the current document
Arguments:
file The gproject file to save (or nil to save over the current project file)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)