Flags

Details

class GWeather.FormatOptions(value)

Bases: GObject.GFlags

Format options to influence the returned string of the gweather_*_to_string_full() functions.

DEFAULT = 0

The default string format

SENTENCE_CAPITALIZATION = 1

Capitalize as if the string was starting a sentence

NO_CAPITALIZATION = 2

Capitalize as if the string was appearing within a sentence

class GWeather.Provider(value)

Bases: GObject.GFlags

NONE = 0

no provider, no weather information available

METAR = 1

METAR office, providing current conditions worldwide

YR_NO = 16

Yr.no service, worldwide but requires attribution

ALL = 31

enable all available providers

OWM = 32

OpenWeatherMap, worldwide and possibly more reliable, but requires attribution and is limited in the number of queries

IWIN = 4

US weather office, providing 7 days of forecast

YAHOO = 8

Yahoo Weather Service, removed in 3.27.1