ui

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(w fyne.Window, httpClient *http.Client) *ui

Types

type CurrentWeatherWidget

type CurrentWeatherWidget struct {
	widget.BaseWidget
	// contains filtered or unexported fields
}

func NewCurrentWeatherWidget

func NewCurrentWeatherWidget() *CurrentWeatherWidget

func (*CurrentWeatherWidget) CreateRenderer

func (w *CurrentWeatherWidget) CreateRenderer() fyne.WidgetRenderer

func (*CurrentWeatherWidget) Set

type DayForecastWidget

type DayForecastWidget struct {
	widget.BaseWidget
	// contains filtered or unexported fields
}

func NewDayForecastWidget

func NewDayForecastWidget() *DayForecastWidget

func (*DayForecastWidget) CreateRenderer

func (w *DayForecastWidget) CreateRenderer() fyne.WidgetRenderer

func (*DayForecastWidget) Set

func (w *DayForecastWidget) Set(f forecast.ForecastDay, icon fyne.Resource)

type HourForecastWidget

type HourForecastWidget struct {
	widget.BaseWidget
	// contains filtered or unexported fields
}

func NewHourForecastWidget

func NewHourForecastWidget() *HourForecastWidget

func (*HourForecastWidget) CreateRenderer

func (w *HourForecastWidget) CreateRenderer() fyne.WidgetRenderer

func (*HourForecastWidget) Set

func (w *HourForecastWidget) Set(f forecast.ForecastHour, icon fyne.Resource)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL