PrintSettings.loadKeyFile

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 #GFileError or #GKeyFileError.

class PrintSettings
bool
loadKeyFile

Parameters

keyFile glib.key_file.KeyFile

the #GKeyFile to retrieve the settings from

groupName string

the name of the group to use, or null to use the default “Print Settings”

Return Value

Type: bool

true on success

Throws