save_to_file
Description:
Writes the contents of this to filename using [func@GLib.
file_set_contents].
If you need stricter guarantees about durability of the written file than are provided by [func@GLib.file_set_contents], use [ func@GLib.file_set_contents_full] with the return value of [method@GLib.KeyFile.to_data].
This function can fail for any of the reasons that [func@GLib.file_set_contents] may fail.
Parameters:
| this |
a key file |
| filename |
the name of the file to write to |
Returns:
|
true if successful, false otherwise |