Gtk.PageSetup.new_from_key_file
function new_from_key_file(key_file:GLib.KeyFile, group_name:String):Gtk.PageSetup { // Gjs wrapper for gtk_page_setup_new_from_key_file() }
Reads the page setup from the group group_name in the key file key_file. Returns a new Gtk.PageSetup object with the restored page setup, or null if an error occurred.
Since 2.12
- key_file
the GLib.KeyFile to retrieve the page_setup from
- group_name
the name of the group in the key_file to read, or null to use the default name "Page Setup"
- Returns
the restored Gtk.PageSetup