PrintSettings.newFromFile
gtk.print_settings.PrintSettings newFromFile(string fileName)Reads the print settings from file_name.
Returns a new [gtk.print_settings.PrintSettings] object with the restored settings, or null if an error occurred. If the file could not be loaded then error is set to either a [glib.types.FileError] or [glib.types.KeyFileError].
See [gtk.print_settings.PrintSettings.toFile].
Parameters
fileName | the filename to read the settings from |
Returns
the restored [gtk.print_settings.PrintSettings]
Throws
[ErrorWrap]