FileSaver.saveFinish

Finishes a file saving started with gtksource.file_saver.FileSaver.saveAsync.

If the file has been saved successfully, the following classFile properties will be updated: the location, the encoding, the newline type and the compression type.

Since the 3.20 version, gtk.text_buffer.TextBuffer.setModified is called with false if the file has been saved successfully.

class FileSaver
bool
saveFinish

Parameters

result gio.async_result.AsyncResult

a #GAsyncResult.

Return Value

Type: bool

whether the file was saved successfully.