GKeyFile use on Windows



I am looking at using the GKeyFile facility in GLIB for storing settings of an application I am writing in Windows. While I can see how to retrieve the setting from a file there does not seem to be a function to write a GKeyFile to a disk file. So does this mean you have to create a GKeyFile using g_key_file_new(), add the keys, then use g_key_file_to_data() to write the data to a string, then write the string to a file? Or is the GKeyFile written to the registry some how?

Richard.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]