Descriptive element in introspection()?

Anders Feder lists.anders at feder.dk
Sun Aug 10 11:41:54 PDT 2008


I wouldn't know if this is sufficient for your application, but the
D-Bus specification defines generic metadata "annotations" which could
theoretically hold a human-readable description:

http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format

søn, 10 08 2008 kl. 17:41 +0100, skrev M Murphy:
> Dear All,
> 
> Searching through your mail archive I found this:
> 
> From: Lennart Poettering mzqohf at 0pointer.de
> Date: Wed Aug 3 05:40:54 EST 2005
> ...
>  > May I suggest adding a new element to the introsprection XML format?
>  > a "description" or something similar which might contain some human
>  > readable documentation for the interface/method/signal/property? This
>  > could be used by dbus-viewer to enrich the shown function signature
>  > data.
>  >
>  > On python-dbus this element could be filled with data from the
>  > function's documentation string (""").
> ...
> 
> Was the suggestion taken up?  It seems like a good idea.  In fact,  
> that is exactly what I was looking for.
> 
> Best wishes, Max
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
> 

-- 
Anders Feder <lists.anders at feder.dk>



More information about the dbus mailing list