IBus.ConfigService¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
|
|
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class IBus.ConfigService(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An
IBus.ConfigService
is a base class for other configuration services such as GConf. Currently, directly known sub class is IBusConfigGConf.IBus.ConfigServiceClass
has following member functions:bool
set_value(IBus.ConfigService
*config, conststr
*section, conststr
*name, constGObject.Value
*value,IBus.Error
**error)- config:
A configure service
- section:
Section name of the configuration option.
- name:
Name of the configuration option.
- value:
GObject.Value
that holds the value.- error:
Error outputs here.
- Returns:
Set a value to a configuration option.
bool
get_value(IBus.ConfigService
*config, conststr
*section, conststr
*name,GObject.Value
*value,IBus.Error
**error)- config:
A configure service
- section:
Section name of the configuration option.
- name:
Name of the configuration option.
- value:
GObject.Value
that holds the value.- error:
Error outputs here.
- Returns:
Get value of a configuration option.
bool
unset(IBus.ConfigService
*config, conststr
*section, conststr
*name,IBus.Error
**error)- config:
A configure service
- section:
Section name of the configuration option.
- name:
Name of the configuration option.
- error:
Error outputs here.
- Returns:
Remove an entry to a configuration option.
- classmethod new(connection)¶
- Parameters:
connection (
Gio.DBusConnection
) – AnGio.DBusConnection
.- Returns:
A newly allocated
IBus.ConfigServices
.- Return type:
Creates an new
IBus.ConfigService
from anGio.DBusConnection
.
- value_changed(section, name, value)¶
- Parameters:
section (
str
) – Section name of the configuration option.name (
str
) – Name of the configure option.value (
GLib.Variant
) –GLib.Variant
that holds the value.
Change a value of a configuration option by sending a “ValueChanged” message to IBus service.
- do_get_value(section, name) virtual¶
- Parameters:
- Return type:
- do_set_value(section, name, value) virtual¶
- Parameters:
section (
str
) –name (
str
) –value (
GLib.Variant
) –
- Return type: