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