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_name at object_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 DBusObject at object_path, if any.

Added in version 2.30.

Parameters:

object_path – Object path to look up.

get_object_path() str

Gets the object path that manager is for.

Added in version 2.30.

get_objects() list[DBusObject]

Gets all DBusObject objects known to manager.

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:
interface_removed(object: DBusObject, interface: DBusInterface) None

The type of the None singleton.

Added in version 2.30.

Parameters:
object_added(object: DBusObject) None

The type of the None singleton.

Added in version 2.30.

Parameters:

object – The DBusObject that was added.

object_removed(object: DBusObject) None

The type of the None singleton.

Added in version 2.30.

Parameters:

object – The DBusObject that was removed.

Virtual Methods

class DBusObjectManager
do_get_interface(object_path: str, interface_name: str) DBusInterface | None

Gets the interface proxy for interface_name at object_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 DBusObject at object_path, if any.

Added in version 2.30.

Parameters:

object_path – Object path to look up.

do_get_object_path() str

Gets the object path that manager is for.

Added in version 2.30.

do_get_objects() list[DBusObject]

Gets all DBusObject objects known to manager.

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