get_value


Description:

public Variant get_value (string section, string name)

Get the value of a configuration option synchronously.

GConf stores configure options in a tree-like structure, and the IBus related setting is at /desktop/ibus, thus, section here is a path from there, while name is the key of that configuration option.

ibus-chewing, for example, stores its setting in /desktop/ibus/engine/Chewing, so the section name for it is "engine/Chewing". See also: set_value.

Parameters:

this

An Config

section

Section name of the configuration option.

name

Name of the configure option.

Returns:

A Variant or null. Free with g_variant_unref.




2022 vala-language.org