coin

package
v0.0.0-...-2b49957 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBadData = errors.New("bad data")

Functions

This section is empty.

Types

type CoinData

type CoinData struct {
	crypto.Symbol
	crypto.Quote
}

func NewSymbol

func NewSymbol(symbol crypto.Symbol) *CoinData

func (*CoinData) UpdateQuote

func (c *CoinData) UpdateQuote(q crypto.Quote) *CoinData

type CoinWidget

type CoinWidget struct {
	widget.BaseWidget
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New(onMenu func(string)) *CoinWidget

func (*CoinWidget) Bind

func (w *CoinWidget) Bind(data binding.Untyped)

func (*CoinWidget) CreateRenderer

func (w *CoinWidget) CreateRenderer() fyne.WidgetRenderer

func (*CoinWidget) DataChanged

func (w *CoinWidget) DataChanged()

func (*CoinWidget) MinSize

func (w *CoinWidget) MinSize() fyne.Size

MinSize returns the size that this widget should not shrink below.

Implements: fyne.Widget

func (*CoinWidget) Tapped

func (w *CoinWidget) Tapped(*fyne.PointEvent)

Jump to

Keyboard shortcuts

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