gui

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Tutorials defines the metadata for each tutorial
	Tutorials = map[string]Tutorial{
		"welcome": {
			"Welcome",
			"",
			welcomeScreen,
			true,
		},
		"installed": {
			"Install Themes",
			"List of current themes",
			currentThemesScreen,
			true,
		},
		"download": {
			"Download Themes",
			"Download themes from gnome-look.org",
			downloadScreen,
			true,
		},
	}

	// TutorialIndex  defines how our tutorials should be laid out in the index tree
	TutorialIndex = map[string][]string{
		"": {"welcome", "installed", "download"},
	}
)
View Source
var THEME_USER_DIR = os.Getenv("HOME") + "/.themes/"

Functions

func GnomeThemeManagerApp

func GnomeThemeManagerApp()

Types

type Tutorial

type Tutorial struct {
	Title, Intro string
	View         func(w fyne.Window) fyne.CanvasObject
	SupportWeb   bool
}

Jump to

Keyboard shortcuts

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