[Vala] How to use a DBus Dict in Vala?



I need to call a DBus method that returns a "Dict of {String, Variant}".
How can I store and handle this result in Vala?

According to what I understood with a quick search in Google (which gave me a Vala Changelog of some months ago) a HashMap could make the trick, but I have not yet understood how it works. Moreover I need to handle a Variant return type...

Thanks

Daniele Benucci

--
Grabel's Law:
2 is not equal to 3 -- not even for large values of 2.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]