PrintSettings.loadKeyFile
bool loadKeyFile(glib.key_file.KeyFile keyFile, string groupName = null)Reads the print settings from the group group_name in key_file.
If the file could not be loaded then error is set to either a [glib.types.FileError] or [glib.types.KeyFileError].
Parameters
keyFile | the [glib.key_file.KeyFile] to retrieve the settings from |
groupName | the name of the group to use, or null to use the default “Print Settings” |
Returns
true on success
Throws
[ErrorWrap]