gio.dbus_object_manager_mixin
Module for DBusObjectManager interface mixin
Templates 2
The gio.dbus_object_manager.DBusObjectManager type is the base type for service- and client-side implementations of the standardized org.freedesktop.DBus.ObjectManager interface.
See gio.dbus_object_manager_client.DBusObjectManagerClient for the client-side implementation and gio.dbus_object_manager_server.DBusObjectManagerServer for the service-side implementation.
Gets the interface proxy for interface_name at object_path, if any.
Parameters
objectPath | Object path to look up. |
interfaceName | D-Bus interface name to look up. |
Returns
Gets the #GDBusObject at object_path, if any.
Parameters
objectPath | Object path to look up. |
Returns
Gets the object path that manager is for.
Returns
Gets all #GDBusObject objects known to manager.
Returns
#GDBusObject objects. The returned list should be freed with glib.list.List.free after each element has been freed with gobject.object.ObjectWrap.unref.
Connect to InterfaceAdded signal.
Emitted when interface is added to object.
This signal exists purely as a convenience to avoid having to connect signals to all objects managed by manager.
Parameters
callback | signal callback delegate or function to connect void callback(gio.dbus_object.DBusObject object, gio.dbus_interface.DBusInterface interface_, gio.dbus_object_manager.DBusObjectManager dBusObjectManager) object The #GDBusObject on which an interface was added. (optional) interface_ The #GDBusInterface that was added. (optional) dBusObjectManager the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Connect to InterfaceRemoved signal.
Emitted when interface has been removed from object.
This signal exists purely as a convenience to avoid having to connect signals to all objects managed by manager.
Parameters
callback | signal callback delegate or function to connect void callback(gio.dbus_object.DBusObject object, gio.dbus_interface.DBusInterface interface_, gio.dbus_object_manager.DBusObjectManager dBusObjectManager) object The #GDBusObject on which an interface was removed. (optional) interface_ The #GDBusInterface that was removed. (optional) dBusObjectManager the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Connect to ObjectAdded signal.
Emitted when object is added to manager.
Parameters
callback | signal callback delegate or function to connect void callback(gio.dbus_object.DBusObject object, gio.dbus_object_manager.DBusObjectManager dBusObjectManager) object The #GDBusObject that was added. (optional) dBusObjectManager the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Connect to ObjectRemoved signal.
Emitted when object is removed from manager.
Parameters
callback | signal callback delegate or function to connect void callback(gio.dbus_object.DBusObject object, gio.dbus_object_manager.DBusObjectManager dBusObjectManager) object The #GDBusObject that was removed. (optional) dBusObjectManager the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Fluent builder implementation template for gio.dbus_object_manager.DBusObjectManager