ui

package
v0.0.0-...-68a93bb Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListItem

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

func NewListItem

func NewListItem() *ListItem

func (*ListItem) CreateRenderer

func (li *ListItem) CreateRenderer() fyne.WidgetRenderer

func (*ListItem) UpdateDataInt

func (li *ListItem) UpdateDataInt(title string, data int)

func (*ListItem) UpdateDataString

func (li *ListItem) UpdateDataString(title, data string)

type PagesAdapter

type PagesAdapter struct {
	// contains filtered or unexported fields
}

func (*PagesAdapter) Count

func (pa *PagesAdapter) Count() int

func (*PagesAdapter) Create

func (pa *PagesAdapter) Create() fyne.CanvasObject

func (*PagesAdapter) Update

func (pa *PagesAdapter) Update(id widget.ListItemID, co fyne.CanvasObject)

func (*PagesAdapter) UpdateData

func (pa *PagesAdapter) UpdateData(pages []plausible.Page)

type SettingsWindow

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

func NewSettingsWindow

func NewSettingsWindow(str SiteTokenRepo) *SettingsWindow

func (*SettingsWindow) CreateRenderer

func (sw *SettingsWindow) CreateRenderer() fyne.WidgetRenderer

type SiteDisplay

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

func NewSiteDisplay

func NewSiteDisplay(canvas fyne.Canvas, statsRepo plausible.StatsRepo) *SiteDisplay

func (*SiteDisplay) CreateRenderer

func (sd *SiteDisplay) CreateRenderer() fyne.WidgetRenderer

type SiteTokenRepo

type SiteTokenRepo interface {
	List() ([]plausible.SiteTokenPair, error)
	Store(pair plausible.SiteTokenPair) error
	Delete(pair plausible.SiteTokenPair) error
}

type Sites

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

func NewSites

func NewSites(repo SiteTokenRepo) *Sites

func (*Sites) CreateRenderer

func (s *Sites) CreateRenderer() fyne.WidgetRenderer

type SourcesAdapter

type SourcesAdapter struct {
	// contains filtered or unexported fields
}

func (*SourcesAdapter) Count

func (sa *SourcesAdapter) Count() int

func (*SourcesAdapter) Create

func (sa *SourcesAdapter) Create() fyne.CanvasObject

func (*SourcesAdapter) Update

func (sa *SourcesAdapter) Update(id widget.ListItemID, co fyne.CanvasObject)

func (*SourcesAdapter) UpdateData

func (sa *SourcesAdapter) UpdateData(sources []plausible.Source)

type Spacer

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

func NewSpacer

func NewSpacer(width, height float32) *Spacer

func (*Spacer) CreateRenderer

func (sp *Spacer) CreateRenderer() fyne.WidgetRenderer

Jump to

Keyboard shortcuts

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