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 BindPreferenceBoolList
func BindPreferenceBoolList(key string, p fyne.Preferences) BoolList
BindPreferenceBoolList returns a bound list of bool 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 NewBoolList
func NewBoolList() BoolList
NewBoolList returns a bindable list of bool values.
Since:
2.0