GWeather.TemperatureUnit
Description: Reference for GWeather.TemperatureUnit

### Enumeration

# GWeatherTemperatureUnit

since: 4.0

#### Declaration

    enum GWeather.TemperatureUnit

#### Description [src]

The measure unit to use for temperature values, when retrieved by the `gweather_info_get_value_temp()` family of functions.

Available since: 4.0

#### Members

`GWEATHER_TEMP_UNIT_INVALID`

  Invalid unit.

  - Value: `0`
  - Nickname: `invalid`
  - Available since: 4.0
`GWEATHER_TEMP_UNIT_DEFAULT`

  The user preferred temperature unit.

  - Value: `1`
  - Nickname: `default`
  - Available since: 4.0
`GWEATHER_TEMP_UNIT_KELVIN`

  Kelvin (absolute) temperature scale.

  - Value: `2`
  - Nickname: `kelvin`
  - Available since: 4.0
`GWEATHER_TEMP_UNIT_CENTIGRADE`

  Celsius temperature scale.

  - Value: `3`
  - Nickname: `centigrade`
  - Available since: 4.0
`GWEATHER_TEMP_UNIT_FAHRENHEIT`

  Fahrenheit temperature scale.

  - Value: `4`
  - Nickname: `fahrenheit`
  - Available since: 4.0

#### Type functions

###### gweather_temperature_unit_to_real

Resolve `unit` into a real temperature unit, potentially considering locale defaults.

since: 4.0