Fyne API "binding.BoolList"

binding.BoolList


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

Usage

type BoolList

type BoolList interface {
	DataList

	Append(value bool) error
	Get() ([]bool, error)
	GetValue(index int) (bool, error)
	Prepend(value bool) error
	Remove(value bool) error
	Set(list []bool) error
	SetValue(index int, value bool) error
}

BoolList supports binding a list of bool values.

Since: 2.0

func NewBoolList

func NewBoolList() BoolList

NewBoolList returns a bindable list of bool values.

Since: 2.0