Gtk.PrintSettings.prototype.load_key_file

function load_key_file(key_file:GLib.KeyFile, group_name:String):Boolean {
    // Gjs wrapper for gtk_print_settings_load_key_file()
}

Reads the print settings from the group group_name in key_file. If the file could not be loaded then error is set to either a GLib.FileError or GLib.KeyFileError.

Since 2.14

key_file

the GLib.KeyFile to retrieve the settings from

group_name

the name of the group to use, or null to use the default "Print Settings"

Returns

true on success