dbus-python and exposing properties
Andy Grover
agrover at redhat.com
Thu Oct 23 10:02:40 PDT 2014
On 10/22/2014 11:57 AM, Andy Grover wrote:
> I would like to expose properties for an object, using dbus-python.
Hi all, replying to myself :)
> because I'm assuming calling GetAll is how the introspection is finding
> what properties are supported, and thus the above would register three
> properties named foo, bar, and baz.
>
> But this isn't evidently how it works, because there are no properties:
Properties are introspected via
org.freedesktop.DBus.Introspectable.Inspect(), which makes sense.
> So, how is the list of supported properties obtained and how do I
> support properties with dbus-python?
I think this is to-be-implemented. I've opened
https://bugs.freedesktop.org/show_bug.cgi?id=85374 and assigned it to
myself, if anyone has thoughts or suggestions to add.
Regards -- Andy
More information about the dbus
mailing list