ui

package
v0.0.0-...-c0531a0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShowErrorDialog

func ShowErrorDialog(parent fyne.Window, message string)

Types

type App

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

func NewApp

func NewApp(defaultWallpaperDir string) *App

func (*App) Run

func (a *App) Run()

type ListManager

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

func NewListManager

func NewListManager(wallpaperServ *service.WallpaperService, onSelectionChange func(int)) *ListManager

func (*ListManager) GetListWidget

func (l *ListManager) GetListWidget() *widget.List

func (*ListManager) GetSelectedWallpaper

func (l *ListManager) GetSelectedWallpaper() *model.Wallpaper

func (*ListManager) GetWallpaper

func (l *ListManager) GetWallpaper(index int) *model.Wallpaper

func (*ListManager) GetWallpaperCount

func (l *ListManager) GetWallpaperCount() int

func (*ListManager) LoadWallpapers

func (l *ListManager) LoadWallpapers() error

func (*ListManager) SelectWallpaper

func (l *ListManager) SelectWallpaper(index int)

func (*ListManager) ShowFolderDialog

func (l *ListManager) ShowFolderDialog(parent fyne.Window, onSelect func(string))

type PreviewManager

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

func NewPreviewManager

func NewPreviewManager() *PreviewManager

func (*PreviewManager) ClearPreview

func (p *PreviewManager) ClearPreview()

func (*PreviewManager) GetPreviewContainer

func (p *PreviewManager) GetPreviewContainer() *fyne.Container

func (*PreviewManager) UpdatePreview

func (p *PreviewManager) UpdatePreview(wallpaper *model.Wallpaper)

Jump to

Keyboard shortcuts

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