EDataServer.SourceWeather

g EDataServer.SourceExtension EDataServer.SourceExtension EDataServer.SourceWeather EDataServer.SourceWeather EDataServer.SourceExtension->EDataServer.SourceWeather GObject.Object GObject.Object GObject.Object->EDataServer.SourceExtension

Subclasses:None

Virtual Methods

Inherited:GObject.Object (7)

Properties

Inherited:EDataServer.SourceExtension (1)
Name Type Flags Short Description
location str r/w/c/en Weather location code
units EDataServer.SourceWeatherUnits r/w/c/en Fahrenheit, Centigrade or Kelvin units

Signals

Inherited:GObject.Object (1)

Fields

Inherited:GObject.Object (1)
Name Type Access Description
parent EDataServer.SourceExtension r  

Class Details

class EDataServer.SourceWeather(**kwargs)
Bases:EDataServer.SourceExtension
Abstract:No
Structure:EDataServer.SourceWeatherClass
dup_location()
Return type:str
get_location()
Return type:str
get_units()
Return type:EDataServer.SourceWeatherUnits
set_location(location)
Parameters:location (str) –
set_units(units)
Parameters:units (EDataServer.SourceWeatherUnits) –

Property Details

EDataServer.SourceWeather.props.location
Name:location
Type:str
Default Value:None
Flags:READABLE, WRITABLE, CONSTRUCT, EXPLICIT_NOTIFY

Weather location code

EDataServer.SourceWeather.props.units
Name:units
Type:EDataServer.SourceWeatherUnits
Default Value:EDataServer.SourceWeatherUnits.CENTIGRADE
Flags:READABLE, WRITABLE, CONSTRUCT, EXPLICIT_NOTIFY

Fahrenheit, Centigrade or Kelvin units