Fyne API "binding.IntList"
binding.IntList
import "fyne.io/fyne/v2/data/binding"
Usage
type IntList
type IntList interface {
DataList
Append(value int) error
Get() ([]int, error)
GetValue(index int) (int, error)
Prepend(value int) error
Remove(value int) error
Set(list []int) error
SetValue(index int, value int) error
}
IntList supports binding a list of int values.
Since:
2.0
func BindPreferenceIntList
func BindPreferenceIntList(key string, p fyne.Preferences) IntList
BindPreferenceIntList returns a bound list of int values that is managed by the application preferences. Changes to this value will be saved to application storage and when the app starts the previous values will be read.
Since:
2.6
func NewIntList
func NewIntList() IntList
NewIntList returns a bindable list of int values.
Since:
2.0