get_value


Description:

public string get_value (string group_name, string key) throws KeyFileError

Returns the raw value associated with key under group_name.

Use [method@GLib.KeyFile.get_string] to retrieve an unescaped UTF-8 string.

If the key cannot be found, [error@GLib.KeyFileError.KEY_NOT_FOUND] is returned. If the group_name cannot be found, [ error@GLib.KeyFileError.GROUP_NOT_FOUND] is returned.

Parameters:

this

a key file

group_name

a group name

key

a key

Returns:

a newly allocated string or `NULL` if the specified key cannot be found.