progress

package
v1.6.12 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FyneProgress

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

func NewFyneProgress

func NewFyneProgress(progress *widget.ProgressBar) *FyneProgress

func (*FyneProgress) Canvas

func (p *FyneProgress) Canvas() fyne.CanvasObject

func (*FyneProgress) Done

func (p *FyneProgress) Done()

func (*FyneProgress) GetValue

func (p *FyneProgress) GetValue() float64

func (*FyneProgress) SetValue

func (p *FyneProgress) SetValue(value float64)

func (*FyneProgress) Start

func (p *FyneProgress) Start() bool

func (*FyneProgress) Working

func (p *FyneProgress) Working() bool

type PhaseProgress added in v1.5.3

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

func NewPhaseProgress added in v1.5.3

func NewPhaseProgress(parent Progress, start, scale float64) *PhaseProgress

func (*PhaseProgress) Done added in v1.5.3

func (p *PhaseProgress) Done()

func (*PhaseProgress) GetValue added in v1.5.3

func (p *PhaseProgress) GetValue() float64

func (*PhaseProgress) SetValue added in v1.5.3

func (p *PhaseProgress) SetValue(value float64)

func (*PhaseProgress) Start added in v1.5.3

func (p *PhaseProgress) Start() bool

func (*PhaseProgress) Working added in v1.5.3

func (p *PhaseProgress) Working() bool

type Progress

type Progress interface {
	SetValue(value float64)
	Done()
	Start() bool
	Working() bool
	GetValue() float64
}

type ProgressWriter added in v1.5.3

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

func NewProgressWriter added in v1.5.3

func NewProgressWriter(start, scale float64, goal int64, progress Progress, writer io.Writer) *ProgressWriter

func (*ProgressWriter) Complete added in v1.5.3

func (pw *ProgressWriter) Complete()

func (*ProgressWriter) SetWriter added in v1.5.3

func (pw *ProgressWriter) SetWriter(writer io.Writer)

func (*ProgressWriter) Write added in v1.5.3

func (pw *ProgressWriter) Write(data []byte) (n int, err error)

Jump to

Keyboard shortcuts

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