Fyne API "binding.FloatTree"

binding.FloatTree


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

Usage

type FloatTree

type FloatTree interface {
	DataTree

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

FloatTree supports binding a tree of float64 values.

Since: 2.4

func NewFloatTree

func NewFloatTree() FloatTree

NewFloatTree returns a bindable tree of float64 values.

Since: 2.4