PageSetup.newFromFile

gtk.page_setup.PageSetup newFromFile(string fileName)

Reads the page setup from the file file_name. Returns a new #GtkPageSetup 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 #GtkPageSetup

Throws

[ErrorWrap]