Gtk.PageSetup.prototype.to_key_file

function to_key_file(key_file:GLib.KeyFile, group_name:String):void {
    // Gjs wrapper for gtk_page_setup_to_key_file()
}

This function adds the page setup from setup to key_file.

Since 2.12

key_file

the GLib.KeyFile to save the page setup to

group_name

the group to add the settings to in key_file, or null to use the default name "Page Setup"