progressview

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package button implements a native progress view.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type View

type View struct {
	view.Embed
	Progress         float64
	ProgressNotifier comm.Float64Notifier
	PaintStyle       *paint.Style
	// contains filtered or unexported fields
}

func New

func New(ctx *view.Context, key string) *View

New returns either the previous View in ctx with matching key, or a new View if none exists.

func (*View) Build

func (v *View) Build(ctx *view.Context) view.Model

Build implements view.View.

func (*View) Lifecycle

func (v *View) Lifecycle(from, to view.Stage)

Jump to

Keyboard shortcuts

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