Fyne API "binding.RuneTree"

binding.RuneTree


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

Usage

type RuneTree

type RuneTree interface {
	DataTree

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

RuneTree supports binding a tree of rune values.

Since: 2.4

func NewRuneTree

func NewRuneTree() RuneTree

NewRuneTree returns a bindable tree of rune values.

Since: 2.4