load_key_file


Description:

public bool load_key_file (KeyFile key_file, string? group_name) throws Error

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 `GFileError` or `GKeyFileError`.

Parameters:

this

a `GtkPrintSettings`

key_file

the `GKeyFile` 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




2022 vala-language.org