dbus-python and dbus properties

Eric Jonas jonas at MIT.EDU
Tue Jun 24 16:44:16 PDT 2008


On Wed, 2008-06-25 at 09:25 +1000, Curtis Maloney wrote:
> Eric Jonas wrote:
> > I looked through the source code and the docs, and I couldn't find a way
> > to implement properties. In particular, though I can implement (by hand)
> > the various bits of the Properties interface, introspection is still a
> > problem. There doesn't appear to be an easy or centralized way of
> > modifying the XML generated by introspection such that the existence of
> > the properties can be advertised. 
> > 
> > I'm guessing this is either because 1. it's actually hard and subtle to
> > get this right from python or 2. it's easy but people are busy. If it's
> > the latter (or maybe even the former), would you guys accept a patch
> > adding reasonable property management? 
> 
> Or 3 - it's not up to the bindings to dictate how you implement properties.
> 

Even if it's not up to the bindings, however, is there a way to hook in
to the introspection infrastructure such that I can at least announce to
clients that I have properties? 

Thanks, 
		...Eric



More information about the dbus mailing list