<div dir="ltr">The best example is gb.dbus.trayicon... It show really how to use DBusVariant and structures.</div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-28 21:14 GMT+01:00 T Lee Davidson <span dir="ltr"><<a href="mailto:t.lee.davidson@gmail.com" target="_blank">t.lee.davidson@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 01/28/2018 01:53 PM, Benoît Minisini wrote:<br>
> Le 26/01/2018 Ã  16:26, Hans Lehmann a Ã©crit :<br>
</span>[snip]<br>
<span class="">>><br>
>> *Therefore, my question: Which way do I have to go - certainly about the class DBusValues, whose documentation I do not<br>
>> understand - in order to read out the values of all arguments safely and to map them to Gambas types?*<br>
>><br>
</span>[snip]<br>
<span class="">>><br>
><br>
> I have update the DBus documentation page at <a href="http://gambaswiki.org/wiki/doc/dbus#t10" rel="noreferrer" target="_blank">http://gambaswiki.org/wiki/<wbr>doc/dbus#t10</a> with the datatype mapping between Gambas<br>
> and DBus.<br>
><br>
> It should help you.<br>
><br>
<br>
</span>DBus Explorer, from the Software farm Examples, gives a good example of how DBus datatypes can be mapped to descriptive strings.<br>
<br>
After reading and re-reading the documenation, I also am having difficulty understanding what specific use cases there might be<br>
for DBusValues or even a possible implementation of a class inheriting DBusValues.<br>
<br>
In the case of Hans' returned Argument[2], for example, why not just map it into a STRUCT and then extract values further from<br>
that? Is DBusValues _only_ for the case in which one needs to implement a class to work with DBus instead of a procedural<br>
implementation?<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Lee<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
------------------------------<wbr>--------------------<br>
<br>
This is the Gambas Mailing List<br>
<a href="https://lists.gambas-basic.org/listinfo/user" rel="noreferrer" target="_blank">https://lists.gambas-basic.<wbr>org/listinfo/user</a><br>
<br>
Hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Fabien Bodard </div>
</div>