DBusG Properties HowTo?

Dan Saul daniel.saul at gmail.com
Thu Mar 25 22:22:22 PDT 2010


Hi all,

Newbie question here. Using DbusG, how do I fetch a property? No functions
(or anything else of relevance) were generated using the dbus-binding-tool.
I tried g_object_get with both the hyphenated-name and the CamelCaseName but
to no avail, confirmed there were no such properties using
g_object_class_list_properties. I had assumed that would have been done
since serving the properties was pretty much automatic. Using the DFeet dbus
debugger I know the properties are being properly exported. I checked
dbus-glib-bindings.h for something like org_freedesktop_dbus_properties_get
(as referenced in the spec), but was unable to find it. Nor am I able to
find anything relevant searching the internet. I'm pretty sure it is simple,
just need to be pointed in the right direction.

Thanks in advance!

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100326/cfc82c61/attachment.htm>


More information about the dbus mailing list