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 (interface{}), connected to an external data source.

Since: 2.0

func BindUntypedMap

func BindUntypedMap(d *map[string]interface{}) ExternalUntypedMap

BindUntypedMap creates a new map binding of string to interface{} 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