Gtk.PageSetup.new_from_file

function new_from_file(file_name:filename):Gtk.PageSetup {
    // Gjs wrapper for gtk_page_setup_new_from_file()
}

Reads the page setup from the file file_name. Returns a new Gtk.PageSetup object with the restored page setup, or null if an error occurred. See Gtk.PageSetup.prototype.to_file.

Since 2.12

file_name

the filename to read the page setup from

Returns

the restored Gtk.PageSetup