DBusObjectSkeleton.addInterface

Adds interface_ to object.

If object already contains a #GDBusInterfaceSkeleton with the same interface name, it is removed before interface_ is added.

Note that object takes its own reference on interface_ and holds it until removed.

class DBusObjectSkeleton
void
addInterface

Parameters

interface_ gio.dbus_interface_skeleton.DBusInterfaceSkeleton

A #GDBusInterfaceSkeleton.