Fyne API "binding.ExternalIntList"

binding.ExternalIntList


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

Usage

type ExternalIntList

type ExternalIntList interface {
	IntList

	Reload() error
}

ExternalIntList supports binding a list of int values from an external variable.

Since: 2.0

func BindIntList

func BindIntList(v *[]int) ExternalIntList

BindIntList returns a bound list of int 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