PrintSettings.newFromFile

gtk.print_settings.PrintSettings newFromFile(string fileName)

Reads the print settings from file_name. 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 a #GFileError or #GKeyFileError. See [gtk.print_settings.PrintSettings.toFile].

Parameters

fileNamethe filename to read the settings from

Returns

the restored #GtkPrintSettings

Throws

[ErrorWrap]