Fyne API "binding.URITree"

binding.URITree


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

Usage

type URITree

type URITree interface {
	DataTree

	Append(parent, id string, value fyne.URI) error
	Get() (map[string][]string, map[string]fyne.URI, error)
	GetValue(id string) (fyne.URI, error)
	Prepend(parent, id string, value fyne.URI) error
	Remove(id string) error
	Set(ids map[string][]string, values map[string]fyne.URI) error
	SetValue(id string, value fyne.URI) error
}

URITree supports binding a tree of fyne.URI values.

Since: 2.4

func NewURITree

func NewURITree() URITree

NewURITree returns a bindable tree of fyne.URI values.

Since: 2.4