Upgrade to v2.5
Fyne API v2.5
app
canvas
container
data/binding
package binding
Bool
BoolList
BoolTree
Bytes
BytesList
BytesTree
DataItem
DataList
DataListener
DataMap
DataTree
ExternalBool
ExternalBoolList
ExternalBoolTree
ExternalBytes
ExternalBytesList
ExternalBytesTree
ExternalFloat
ExternalFloatList
ExternalFloatTree
ExternalInt
ExternalIntList
ExternalIntTree
ExternalRune
ExternalRuneList
ExternalRuneTree
ExternalString
ExternalStringList
ExternalStringTree
ExternalUntyped
ExternalUntypedList
ExternalUntypedMap
ExternalUntypedTree
ExternalURI
ExternalURIList
ExternalURITree
Float
FloatList
FloatTree
Int
IntList
IntTree
Rune
RuneList
RuneTree
String
StringList
StringTree
Struct
Untyped
UntypedList
UntypedMap
UntypedTree
URI
URIList
URITree
data/validation
dialog
driver
driver/desktop
driver/mobile
driver/software
lang
layout
storage
storage/repository
test
theme
widget
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