Fyne API "binding.FloatList"

binding.FloatList


import "fyne.io/fyne/v2/data/binding"

Usage

type FloatList

type FloatList interface {
	DataList

	Append(value float64) error
	Get() ([]float64, error)
	GetValue(index int) (float64, error)
	Prepend(value float64) error
	Remove(value float64) error
	Set(list []float64) error
	SetValue(index int, value float64) error
}

FloatList supports binding a list of float64 values.

Since: 2.0

func NewFloatList

func NewFloatList() FloatList

NewFloatList returns a bindable list of float64 values.

Since: 2.0