PrintSettings.newFromFile

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.

class PrintSettings
static
newFromFile
(
string fileName
)

Parameters

fileName string

the filename to read the settings from

Return Value

Type: gtk.print_settings.PrintSettings