PrintSettings.from_file


Description:

[ CCode ( has_construct_function = false ) ]
public PrintSettings.from_file (string file_name) throws Error

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 [method@Gtk.PrintSettings.to_file].

Parameters:

file_name

the filename to read the settings from

Returns:

the restored `GtkPrintSettings`