gui

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var LoadingDialog *dialog.CustomDialog

Functions

func FuncLoadingDialog

func FuncLoadingDialog(funcs ...func())

func InfiniteLoadingDialog

func InfiniteLoadingDialog(functions ...func())

func InitGUI

func InitGUI()

func InitLoadingDialog

func InitLoadingDialog()

func ShowSettingsWindow

func ShowSettingsWindow()

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