[ CCode ( has_construct_function = false ) ]
public PrintSettings.from_key_file (KeyFile key_file, string group_name) throws Error
Reads the print settings from the group group_name in key_file.
Returns a new `GtkPrintSettings` object with the restored settings, or null if an error occurred. If the file could not be loaded then error is set to either `GFileError` or `GKeyFileError`.
| key_file |
the `GKeyFile` to retrieve the settings from |
| group_name |
the name of the group to use, or null to use the default “Print Settings” |
|
the restored `GtkPrintSettings` |