Info


Description:

[ CCode ( has_construct_function = false ) ]
public Info (Location? location)

Builds a new `GWeatherInfo` that will provide weather information about the given location.

In order to retrieve the weather information, you will need to enable the desired providers and then call [method@GWeather.Info.update]. If you want to be notified of the completion of the weather information update, you should connect to the [signal@GWeather.Info: GWeatherInfo:updated] signal before updating the `GWeatherInfo` instance.

Parameters:

location

the desidered location

Returns:

a new weather information instance