Re: dbus-python and exposing properties

Andy Grover <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Organization Red Hat
Message-ID <[email protected]>
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

_______________________________________________
dbus mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dbus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.