gio.dbus_interface_mixin

Module for [DBusInterface] interface mixin

Templates 2

tmplDBusInterfaceT()

Base type for D-Bus interfaces.

The [gio.dbus_interface.DBusInterface] type is the base type for D-Bus interfaces both on the service side (see [gio.dbus_interface_skeleton.DBusInterfaceSkeleton]) and client side (see [gio.dbus_proxy.DBusProxy]).

Functions

Gets the #GDBusObject that interface_ belongs to, if any.

Returns

A #GDBusObject or null. The returned

reference should be freed with [gobject.object.ObjectWrap.unref].

Gets D-Bus introspection information for the D-Bus interface implemented by interface_.

Returns

A #GDBusInterfaceInfo. Do not free.
void setObject(gio.dbus_object.DBusObject object = null)

Sets the #GDBusObject for interface_ to object.

Note that interface_ will hold a weak reference to object.

Parameters

objectA #GDBusObject or null.
tmplDBusInterfaceGidBuilderT()