[Gambas-user] DBus and Geoclue2

Moviga Technologies moviga at ...3488...
Mon Sep 21 14:49:12 CEST 2015


I am unexperienced with DBus, and I wondered if someone could point out 
to me how to get Longitude and Latitude from geoclue2 with DBus?

According to this page: 
http://www.freedesktop.org/software/geoclue/docs/gdbus-org.freedesktop.GeoClue2.Location.html#gdbus-property-org-freedesktop-GeoClue2-Location.Latitude
the address is org.freedesktop.GeoClue2.Location

More or less at random I tried:

Print DBus["org.freedesktop.GeoClue2.Location"].Latitude
Print DBus["org.freedesktop.GeoClue2.Location"]["Latitude"]

It did not work, and I do not know what I am doing, or what is the 
correct method here :)




More information about the User mailing list