gio.dbus_object

Module for DBusObject interface

Types 2

interfaceDBusObject

The gio.dbus_object.DBusObject type is the base type for D-Bus objects on both the service side (see gio.dbus_object_skeleton.DBusObjectSkeleton) and the client side (see gio.dbus_object_proxy.DBusObjectProxy). It is essentially just a container of interfaces.

Methods
gio.dbus_interface.DBusInterface getInterface(string interfaceName)Gets the D-Bus interface with name interface_name associated with object, if any.
gio.dbus_interface.DBusInterface[] getInterfaces()Gets the D-Bus interfaces associated with object. Returns: A list of #GDBusInterface instances. The returned list must be freed by [glib.list.List.free] after each element has been freed with [gobj...
string getObjectPath()Gets the object path for object. Returns: A string owned by object. Do not free.
gulong connectInterfaceAdded(T)(T callback, Flag!"After" after = No.After)Connect to `InterfaceAdded` signal.
gulong connectInterfaceRemoved(T)(T callback, Flag!"After" after = No.After)Connect to `InterfaceRemoved` signal.

Fluent builder implementation template for gio.dbus_object.DBusObject