OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
ui.weather.weather_screen_ui_if.WeatherScreenUiIf Class Reference

Present forecast state and refresh progress. More...

Inheritance diagram for ui.weather.weather_screen_ui_if.WeatherScreenUiIf:
ui.weather.weather_ui_if.WeatherUiIf frontends.tk.weather.weather_screen.WeatherScreen

Public Member Functions

None set_online (self, bool online)
 Present connectivity.
 
None set_loading (self, bool loading)
 Present progress.
 
None set_weather_status (self, str status)
 Present refresh status.
 
- Public Member Functions inherited from ui.weather.weather_ui_if.WeatherUiIf
None set_weather_state (self, WeatherUiState|None state)
 Display the latest weather state.
 
None set_weather_request_handler (self, "WeatherRequestHandlerIf | None" handler)
 Connect semantic weather requests.
 

Detailed Description

Present forecast state and refresh progress.

Member Function Documentation

◆ set_loading()

None ui.weather.weather_screen_ui_if.WeatherScreenUiIf.set_loading (   self,
bool  loading 
)

Present progress.

Parameters
loadingWhether a refresh is pending.

Reimplemented in frontends.tk.weather.weather_screen.WeatherScreen.

◆ set_online()

None ui.weather.weather_screen_ui_if.WeatherScreenUiIf.set_online (   self,
bool  online 
)

Present connectivity.

Parameters
onlineWhether internet actions are available.

Reimplemented in frontends.tk.weather.weather_screen.WeatherScreen.

◆ set_weather_status()

None ui.weather.weather_screen_ui_if.WeatherScreenUiIf.set_weather_status (   self,
str  status 
)

Present refresh status.

Parameters
statusHuman-readable status or empty string.

Reimplemented in frontends.tk.weather.weather_screen.WeatherScreen.


The documentation for this class was generated from the following file: