Module dbus

D-Bus

D-Bus types

D-Bus Types are converted to/from deai types when reading a DBus property, receiving a DBus signal, or when calling a DBus method.

Going from DBus to deai is straightforward, all signed integers becomes integer, all unsigned integers becomes unsigned integer. Arrays become arrays. Structs become array of variants. Unix FD is not supported currently.

Going from deai to DBus is harder. Because deai doesn’t have multiple integer types, it only uses DBus INT32 and UINT32, so sometimes calling a method could fail. To have complete support, we need to call Introspect and parse the XML to get the method signature. This is not yet implemented.

See dbus, evdev, event, file, hwinfo, log, lua, misc, os, spawn, udev, xorg for more information about this type

Properties

session_bus

DBus session bus

session_bus: DBusConnection
Type:

DBusConnection

DBus session bus

A connection to the DBus session bus.