Config
Object Hierarchy:
Description:
[
CCode ( type_id =
"ibus_config_get_type ()" ) ]
public class Config :
Proxy,
AsyncInitable,
DBusInterface,
Initable
An IBusConfig provides engine configuration methods such as get and set the configure settings to configuration file.
Currently, IBusConfig supports gconf.
Content:
Static methods:
Creation methods:
Methods:
- public Variant get_value (string section, string name)
Get the value of a configuration option synchronously.
- public async void get_value_async (string section, string name, int timeout_ms, Cancellable? cancellable)
Get the value of a configuration option asynchronously.
- public Variant get_value_async_finish (AsyncResult result) throws Error
Finish get value of a configuration option.
- public Variant get_values (string section)
Get all values in a section synchronously.
- public async void get_values_async (string section, int timeout_ms, Cancellable? cancellable)
Get all values in a section asynchronously.
- public Variant get_values_async_finish (AsyncResult result) throws Error
Finish get values in a section.
- public bool set_value (string section, string name, Variant value)
Set the value of a configuration option synchronously.
- public async void set_value_async (string section, string name, Variant value, int timeout_ms, Cancellable? cancellable)
Set the value of a configuration option asynchronously.
- public bool set_value_async_finish (AsyncResult result) throws Error
Finish set value of a configuration option.
- public bool unset (string section, string name)
Remove an entry of a configuration option.
- public bool unwatch (string? section, string? name)
Unsubscribe from the configuration option change notification.
- public bool watch (string? section, string? name)
Subscribe to the configuration option change notification.
Signals:
Inherited Members:
All known members inherited from class IBus.Proxy
All known members inherited from class GLib.DBusProxy
All known members inherited from class GLib.Object
All known members inherited from interface GLib.AsyncInitable
All known members inherited from interface GLib.DBusInterface
All known members inherited from interface GLib.Initable