Fyne API "binding.ExternalRune"

binding.ExternalRune


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

Usage

type ExternalRune

type ExternalRune interface {
	Rune
	Reload() error
}

ExternalRune supports binding a rune value to an external value.

Since: 2.0

func BindRune

func BindRune(v *rune) ExternalRune

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

Since: 2.0