final class GWeather.Info : GObject.Object
/* No available fields */
GWeatherInfo provides a handy way to access weather conditions
and forecasts from a
GWeatherLocation, aggregating multiple
different web services.
It includes also astronomical data such as sunrise times and moon phases.
Builds a new
GWeatherInfo that will provide weather information about
the given location.
Ensures that any data cached from the network is stored to disk.
Calling this is not necessary, as the cache will be saved when
the last reference to a
GWeatherInfo will be dropped.
On the other hand, it must be called if there is any chance that
the application will be closed without unreffing all objects, such
as when using a language binding that employs a GC.
Some weather services require the application showing the data to include an attribution text, possibly including links to the service website. This must be shown prominently toghether with the data.
Get the contact information of the application fetching the weather.
Gets the bitmask of enabled
GWeatherProvider weather providers.
qualifier with current weather conditions.
sky with current sky conditions.
value may be 0 if
info has not yet been updated.
Sets the application ID of the application fetching the weather. It is a requirement for using any of the online weather providers.
Changes the location of the weather report.
Requests a reload of weather conditions and forecast data from
enabled network services.
This call does no synchronous IO: rather, the result is delivered
by emitting the
Note that if no network services are enabled, the signal will not
be emitted. See
GWeatherInfo:enabled-providers for details.
A unique identifier, typically in the form of reverse DNS notation, for the application that is querying the weather information.
An email address or any other contact form URL.
The enabled weather providers.
The location of the weather information.
This signal is emitted after the initial fetch of the weather
data from upstream services, and after every successful call