Method

GWeatherInfoget_value_wind

Declaration [src]

gboolean
gweather_info_get_value_wind (
  GWeatherInfo* info,
  GWeatherSpeedUnit unit,
  double* speed,
  GWeatherWindDirection* direction
)

Description

No description available.

Parameters

unit

Type: GWeatherSpeedUnit

The desired unit, as a GWeatherSpeedUnit.

speed

Type: double*

Forecasted wind speed.

The argument will be set by the function.
direction

Type: GWeatherWindDirection

Forecasted wind direction.

The argument will be set by the function.
The instance takes ownership of the data, and is responsible for freeing it.

Return value

Type: gboolean

TRUE if speed and direction are valid, FALSE otherwise.