Fyne API "binding.ExternalUntypedMap"

binding.ExternalUntypedMap


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

Usage

type ExternalUntypedMap

type ExternalUntypedMap interface {
	UntypedMap
	Reload() error
}

ExternalUntypedMap is a map data binding with all values untyped (any), connected to an external data source.

Since: 2.0

func BindUntypedMap

func BindUntypedMap(d *map[string]any) ExternalUntypedMap

BindUntypedMap creates a new map binding of string to any based on the data passed. If your code changes the content of the map this refers to you should call Reload() to inform the bindings.

Since: 2.0