Gtk.PrintSettings.prototype.to_key_file

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

This function adds the print settings from settings to key_file.

Since 2.12

key_file

the GLib.KeyFile to save the print settings to

group_name

the group to add the settings to in key_file, or null to use the default "Print Settings"