Fyne API "binding.ExternalFloat"


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


type ExternalFloat

type ExternalFloat interface {
	Reload() error

ExternalFloat supports binding a float64 value to an external value.

Since: 2.0

func BindFloat

func BindFloat(v *float64) ExternalFloat

BindFloat returns a new bindable value that controls the contents of the provided float64 variable. If your code changes the content of the variable this refers to you should call Reload() to inform the bindings.

Since: 2.0