PageSetup.newFromFile

gtk.page_setup.PageSetup newFromFile(string fileName)

Reads the page setup from the file file_name.

Returns a new [gtk.page_setup.PageSetup] object with the restored page setup, or null if an error occurred. See [gtk.page_setup.PageSetup.toFile].

Parameters

fileNamethe filename to read the page setup from

Returns

the restored [gtk.page_setup.PageSetup]

Throws

[ErrorWrap]