DBusObjectManager#
- class DBusObjectManager(*args, **kwargs)#
Implementations: DBusObjectManagerClient, DBusObjectManagerServer
The GDBusObjectManager type is the base type for service- and
client-side implementations of the standardized
`org.freedesktop.DBus.ObjectManager <http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager>`__
interface.
See DBusObjectManagerClient for the client-side implementation
and DBusObjectManagerServer for the service-side implementation.
Methods#
- class DBusObjectManager
- get_interface(object_path: str, interface_name: str) DBusInterface | None#
Gets the interface proxy for
interface_nameatobject_path, if any.Added in version 2.30.
- Parameters:
object_path – Object path to look up.
interface_name – D-Bus interface name to look up.
- get_object(object_path: str) DBusObject | None#
Gets the
DBusObjectatobject_path, if any.Added in version 2.30.
- Parameters:
object_path – Object path to look up.
- get_objects() list[DBusObject]#
Gets all
DBusObjectobjects known tomanager.Added in version 2.30.
Signals#
- class DBusObjectManager.signals
- interface_added(object: DBusObject, interface: DBusInterface) None#
The type of the None singleton.
Added in version 2.30.
- Parameters:
object – The
DBusObjecton which an interface was added.interface – The
DBusInterfacethat was added.
- interface_removed(object: DBusObject, interface: DBusInterface) None#
The type of the None singleton.
Added in version 2.30.
- Parameters:
object – The
DBusObjecton which an interface was removed.interface – The
DBusInterfacethat was removed.
- object_added(object: DBusObject) None#
The type of the None singleton.
Added in version 2.30.
- Parameters:
object – The
DBusObjectthat was added.
- object_removed(object: DBusObject) None#
The type of the None singleton.
Added in version 2.30.
- Parameters:
object – The
DBusObjectthat was removed.
Virtual Methods#
- class DBusObjectManager
- do_get_interface(object_path: str, interface_name: str) DBusInterface | None#
Gets the interface proxy for
interface_nameatobject_path, if any.Added in version 2.30.
- Parameters:
object_path – Object path to look up.
interface_name – D-Bus interface name to look up.
- do_get_object(object_path: str) DBusObject | None#
Gets the
DBusObjectatobject_path, if any.Added in version 2.30.
- Parameters:
object_path – Object path to look up.
- do_get_objects() list[DBusObject]#
Gets all
DBusObjectobjects known tomanager.Added in version 2.30.
- do_interface_added(object: DBusObject, interface_: DBusInterface) None#
The type of the None singleton.
- Parameters:
object
interface
- do_interface_removed(object: DBusObject, interface_: DBusInterface) None#
The type of the None singleton.
- Parameters:
object
interface
- do_object_added(object: DBusObject) None#
The type of the None singleton.
- Parameters:
object
- do_object_removed(object: DBusObject) None#
The type of the None singleton.
- Parameters:
object