panels

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Panels defines metadata for each panel
	Panels = map[string]Panel{
		"home":  {"Home", homeScreen},
		"about": {"About", aboutScreen},
	}

	// PanelIndex defines how the panels are laid out in the index tree
	PanelIndex = map[string][]string{
		"": {"home", "about"},
	}
)

Functions

This section is empty.

Types

type Panel

type Panel struct {
	Title string
	View  func(w fyne.Window) fyne.CanvasObject
}

Jump to

Keyboard shortcuts

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