Fyne API "binding.BytesList"

binding.BytesList


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

Usage

type BytesList

type BytesList interface {
	DataList

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

BytesList supports binding a list of []byte values.

Since: 2.2

func NewBytesList

func NewBytesList() BytesList

NewBytesList returns a bindable list of []byte values.

Since: 2.2