Writes the contents of key_file to filename using glib.global.fileSetContents. If you need stricter guarantees about durability of the written file than are provided by glib.global.fileSetContents, use glib.global.fileSetContentsFull with the return value of glib.key_file.KeyFile.toData.
This function can fail for any of the reasons that glib.global.fileSetContents may fail.
the name of the file to write to
true if successful, else false with error set
Writes the contents of key_file to filename using glib.global.fileSetContents. If you need stricter guarantees about durability of the written file than are provided by glib.global.fileSetContents, use glib.global.fileSetContentsFull with the return value of glib.key_file.KeyFile.toData.
This function can fail for any of the reasons that glib.global.fileSetContents may fail.