progressmodel

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProgressModel

type ProgressModel struct {
	// contains filtered or unexported fields
}

func NewProgressModel

func NewProgressModel(wind fyne.Window) *ProgressModel

func (*ProgressModel) Bar

func (p *ProgressModel) Bar(show bool) *ProgressModel

func (*ProgressModel) Clear

func (p *ProgressModel) Clear() *ProgressModel

func (*ProgressModel) Done

func (p *ProgressModel) Done() *ProgressModel

func (*ProgressModel) Hide

func (p *ProgressModel) Hide() *ProgressModel

func (*ProgressModel) SetWait

func (p *ProgressModel) SetWait() *ProgressModel

func (*ProgressModel) Show

func (p *ProgressModel) Show(isError, done bool, newLine ...string) *ProgressModel

func (*ProgressModel) ShowError

func (p *ProgressModel) ShowError(err error, msg ...string) *ProgressModel

func (*ProgressModel) ShowProgress

func (p *ProgressModel) ShowProgress(minVal, maxVal float64,
	textFormatter func() string, newLine ...string) *ProgressModel

func (*ProgressModel) UpdateProgress

func (p *ProgressModel) UpdateProgress(values ...interface{}) *ProgressModel

func (*ProgressModel) Wait

func (p *ProgressModel) Wait() *ProgressModel

type ProgressSt

type ProgressSt struct {
	Step string
	Done bool
	Err  error
	Data interface{}
}

Jump to

Keyboard shortcuts

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