IBus.ServiceClass¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
interfaces |
[ |
r |
|
parent |
r |
||
pdummy |
[ |
r |
|
service_get_property |
r |
||
service_method_call |
r |
||
service_set_property |
r |
Methods¶
|
|
|
Details¶
- class IBus.ServiceClass¶
- add_interfaces(xml_data)¶
- Parameters:
xml_data (
str
) – The introspection xml data.- Returns:
True
if xml_data is valid and succeeded to be added;False
otherwise.- Return type:
Set the interface introspection information with the service class.
- free_interfaces(depth)¶
- Parameters:
depth (
int
) – The number of D-Bus introspection interfaces.- Returns:
The actual freed number of the introspection interfaces if depth is not 0. If depth is 0, the total number of the introspection interfaces is returned but any interfaces are not freed.
- Return type:
Free the first depth interfaces if depth is positive. Free the last -depth interfaces if depth is negative.