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 NewIntList

func NewIntList() IntList

NewIntList returns a bindable list of int values.

Since: 2.0