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
atobject_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
atobject_path
, if any.Added in version 2.30.
- Parameters:
object_path – Object path to look up.
- get_objects() list[DBusObject]
Gets all
DBusObject
objects 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
DBusObject
on which an interface was added.interface – The
DBusInterface
that was added.
- interface_removed(object: DBusObject, interface: DBusInterface) None
The type of the None singleton.
Added in version 2.30.
- Parameters:
object – The
DBusObject
on which an interface was removed.interface – The
DBusInterface
that was removed.
- 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
atobject_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
atobject_path
, if any.Added in version 2.30.
- Parameters:
object_path – Object path to look up.
- do_get_objects() list[DBusObject]
Gets all
DBusObject
objects 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