gweather4 Reference Manual
Packages
gweather4
GWeather
gweather4
Description:
Content:
Namespaces:
GWeather
Classes:
Info
-
`GWeatherInfo` provides a handy way to access weather conditions and forecasts from a [class@GWeather.
Location
-
A `GWeatherLocation` represents a "location" of some type known to libgweather; anything from a single weather station to the entire world.
Structs:
Conditions
-
A convenient way to describe the current or forecast weather phenomenon, if significant, and its associated modifier.
MoonLatitude
-
The moon declension, in degrees.
MoonPhase
-
The current phase of the moon, represented as degrees, where 0 is the new moon, 90 is the first quarter, etc.
Enums:
ConditionPhenomenon
-
The current or forecasted significant phenomenon.
ConditionQualifier
-
An additional modifier applied to a
ConditionPhenomenon
to describe the current or forecasted weather conditions.
DistanceUnit
-
The measure unit to use for sky visibility values, when retrieved by
get_value_visibility
.
FormatOptions
-
Format options to influence the text returned by the `gweather_*_to_string_full()` functions.
LocationLevel
-
The size/scope of a particular [class@GWeather.
PressureUnit
-
The measure unit to use for atmospheric pressure values, when retrieved by
get_value_pressure
.
Provider
Sky
-
The sky and cloud visibility.
SpeedUnit
-
The measure unit to use for wind speed values, when retrieved by
get_value_wind
.
TemperatureUnit
-
The measure unit to use for temperature values, when retrieved by the
get_value_temp
family of functions.
WindDirection
-
The direction of the prevailing wind.
Delegates:
public
delegate
bool
FilterFunc
(
Location
location)
A filter function for locations.
Methods:
public
unowned
string
location_level_to_string
(
LocationLevel
level)
public
unowned
string
sky_to_string
(
Sky
sky)
public
unowned
string
sky_to_string_full
(
Sky
sky,
FormatOptions
options)
public
unowned
string
speed_unit_to_string
(
SpeedUnit
unit)
public
TemperatureUnit
temperature_unit_to_real
(
TemperatureUnit
unit)
public
unowned
string
wind_direction_to_string
(
WindDirection
wind)
public
unowned
string
wind_direction_to_string_full
(
WindDirection
wind,
FormatOptions
options)