ui

package
v0.0.0-...-fcb1956 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 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
	Screens = map[string]Screen{
		"welcome": {"欢迎页", "", welcomeScreen},
		"xlsx": {"Excel(xlsx)文件工具",
			"自定义列名,往行末尾插入在图片文件夹中找到的图片文件\n支持(png, jpg, jpeg, gif格式)",
			xlsxScreen,
		},
	}

	// TutorialIndex  defines how our tutorials should be laid out in the index tree
	ScreensIndex = map[string][]string{
		"": {"welcome", "xlsx"},
	}
)

Functions

func MakeNav

func MakeNav(setTutorial func(tutorial Screen), loadPrevious bool) fyne.CanvasObject

Types

type Screen

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

Tutorial defines the data structure for a tutorial

Jump to

Keyboard shortcuts

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