Fyne API "binding.ExternalUntypedTree"
binding.ExternalUntypedTree
import "fyne.io/fyne/v2/data/binding"
Usage
type ExternalUntypedTree
type ExternalUntypedTree interface {
UntypedTree
Reload() error
}
ExternalUntypedTree supports binding a tree of any values from an external variable.
Since:
2.5
func BindUntypedTree
func BindUntypedTree(ids *map[string][]string, v *map[string]any) ExternalUntypedTree
BindUntypedTree returns a bound tree of any values, based on the contents of the passed values. The ids map specifies how each item relates to its parent (with id “”), with the values being in the v map. If your code changes the content of the maps this refers to you should call Reload() to inform the bindings.
Since:
2.4