Fyne API "binding.BytesTree"
binding.BytesTree
import "fyne.io/fyne/v2/data/binding"
Usage
type BytesTree
type BytesTree interface {
DataTree
Append(parent, id string, value []byte) error
Get() (map[string][]string, map[string][]byte, error)
GetValue(id string) ([]byte, error)
Prepend(parent, id string, value []byte) error
Remove(id string) error
Set(ids map[string][]string, values map[string][]byte) error
SetValue(id string, value []byte) error
}
BytesTree supports binding a tree of []byte values.
Since:
2.4
func NewBytesTree
func NewBytesTree() BytesTree
NewBytesTree returns a bindable tree of []byte values.
Since:
2.4