Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Latest commit

 

History

History
44 lines (30 loc) · 820 Bytes

externalboollist.md

File metadata and controls

44 lines (30 loc) · 820 Bytes
redirect_to layout tags title
page
api
Fyne API "binding.ExternalBoolList"

binding.ExternalBoolList


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

Usage

type ExternalBoolList

type ExternalBoolList interface {
	BoolList

	Reload() error
}

ExternalBoolList supports binding a list of bool values from an external variable.

Since: 2.0

func BindBoolList

func BindBoolList(v *[]bool) ExternalBoolList

BindBoolList returns a bound list of bool values, based on the contents of the passed slice. If your code changes the content of the slice this refers to you should call Reload() to inform the bindings.

Since: 2.0