Fyne API "binding.ExternalString"


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


type ExternalString

type ExternalString interface {
	Reload() error

ExternalString supports binding a string value to an external value.

Since: 2.0

func BindString

func BindString(v *string) ExternalString

BindString returns a new bindable value that controls the contents of the provided string variable. If your code changes the content of the variable this refers to you should call Reload() to inform the bindings.

Since: 2.0