Fyne API "binding.ExternalURI"

binding.ExternalURI


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

Usage

type ExternalURI

type ExternalURI interface {
	URI
	Reload() error
}

ExternalURI supports binding a fyne.URI value to an external value.

Since: 2.1

func BindURI

func BindURI(v *fyne.URI) ExternalURI

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

Since: 2.1