gui

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ManagerID     = "manager"
	ListModeID    = "list-mode"
	SearchEntryID = "search-entry"
	LangID        = "lang"
)

Variables

View Source
var (
	LoadingDialog      *dialog.CustomDialog
	InstallingDialog   *dialog.CustomDialog
	UninstallingDialog *dialog.CustomDialog
)

Functions

func FuncLoadingDialog

func FuncLoadingDialog(funcs ...func())

func InfiniteLoadingDialog

func InfiniteLoadingDialog(functions ...func())

func InitDialogs added in v1.1.0

func InitDialogs()

func InitGUI

func InitGUI()

func InitLocales added in v1.1.0

func InitLocales()

func InstallSelected added in v1.1.0

func InstallSelected()

func ShowSettingsWindow

func ShowSettingsWindow()

func UninstallSelected added in v1.1.0

func UninstallSelected()

Types

type MainMenu struct {
	Menu *fyne.MainMenu
}
func (m *MainMenu) Init()
type Search struct {
	Box *fyne.Container

	ModeSelect *widget.Select

	Entry  *widget.Entry
	Button *widget.Button
}

func (*Search) Init

func (s *Search) Init()

func (*Search) InitSelect

func (s *Search) InitSelect()
type SideBar struct {
	Box  *fyne.Container
	Form *widget.Form

	CurrentPkg pkg.Packager

	Slice []*widget.FormItem

	Name      *widget.FormItem
	Version   *widget.FormItem
	Installed *widget.FormItem
	Manager   *widget.FormItem
	Local     *widget.FormItem
	Repo      *widget.FormItem

	Close *widget.Button

	LoadBar *widget.ProgressBar
}

func (*SideBar) Clean

func (s *SideBar) Clean()

func (*SideBar) Init

func (s *SideBar) Init()

func (*SideBar) Load

func (s *SideBar) Load(p pkg.Packager)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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