FileSaver
Save a class@Buffer into a file.
A GtkSourceFileSaver
object permits to save a class@Buffer into a iface@Gio.File.
A file saver should be used only for one save operation, including errors handling. If an error occurs, you can reconfigure the saver and relaunch the operation with method@FileSaver.save_async.
Skipped during bindings generation
parameter
callback
: Gio.AsyncReadyCallbackmethod
encoding
: Property TypeInfo of getter and setter do not match
Constructors
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Finishes a file saving started with method@FileSaver.save_async.
Link copied to clipboard
Sets the compression type. By default the compression type is taken from the #GtkSourceFile.
Link copied to clipboard
Sets the encoding. If @encoding is null, the UTF-8 encoding will be set.
Link copied to clipboard
Link copied to clipboard
Sets the newline type. By default the newline type is taken from the #GtkSourceFile.