IBus.ServiceClass

Fields

Name

Type

Access

Description

interfaces

[object]

r

parent

IBus.ObjectClass

r

pdummy

[object]

r

service_get_property

object

r

service_method_call

object

r

service_set_property

object

r

Methods

add_interfaces (xml_data)

free_interfaces (depth)

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:

bool

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:

int

Free the first depth interfaces if depth is positive. Free the last -depth interfaces if depth is negative.