Fyne API "binding.BoolList"

binding.BoolList


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

Usage

type BoolList

type BoolList interface {
	DataList

	Append(bool) error
	Get() ([]bool, error)
	GetValue(int) (bool, error)
	Prepend(bool) error
	Set([]bool) error
	SetValue(int, 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