Gio.DBusInterface¶
interface
Base type for D-Bus interfaces.
The GDBusInterface type is the base type for D-Bus interfaces both
on the service side (see DBusInterfaceSkeleton) and client side
(see DBusProxy).
Methods¶
get_object¶
Gets the DBusObject that interface_ belongs to, if any.
get_info¶
Gets D-Bus introspection information for the D-Bus interface
implemented by interface_.
This can return None if no DBusInterfaceInfo was provided during
construction of interface_ and is also not made available otherwise.
For example, DBusProxy implements DBusInterface but allows for a None
DBusInterfaceInfo.
set_object¶
Sets the DBusObject for interface_ to object.
Note that interface_ will hold a weak reference to object.
Parameters:
object— ADBusObjectorNone.
Virtual methods¶
do_dup_object¶
Gets the DBusObject that interface_ belongs to, if any.
do_get_info¶
Gets D-Bus introspection information for the D-Bus interface
implemented by interface_.
This can return None if no DBusInterfaceInfo was provided during
construction of interface_ and is also not made available otherwise.
For example, DBusProxy implements DBusInterface but allows for a None
DBusInterfaceInfo.
do_set_object¶
Sets the DBusObject for interface_ to object.
Note that interface_ will hold a weak reference to object.
Parameters:
object— ADBusObjectorNone.