applyFromKeyFile
fun applyFromKeyFile(keyFile: <Error class: unknown class>, groupName: String): <Error class: unknown class><Boolean>
Reads the contents of the given @group_name from the given @key_file and apply the value of each key/value to the corresponding property on the @settings.
Value types have to match with the corresponding setting property type and the group keys have to match existing setting property names. If those conditions are not met, the function will return false.
Supported value types are strings (unquoted), booleans (0, 1, true, false) and unsigned integers.
Return
true if the settings were correctly applied or false on error.
Since
2.46
Parameters
keyFile
a #GKeyFile
groupName
Name of the group to read from @key_file