Fyne API "binding.ExternalFloatList"

binding.ExternalFloatList


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

Usage

type ExternalFloatList

type ExternalFloatList interface {
	FloatList

	Reload() error
}

ExternalFloatList supports binding a list of float64 values from an external variable.

Since: 2.0

func BindFloatList

func BindFloatList(v *[]float64) ExternalFloatList

BindFloatList returns a bound list of float64 values, based on the contents of the passed slice. If your code changes the content of the slice this refers to you should call Reload() to inform the bindings.

Since: 2.0