Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Latest commit

 

History

History
49 lines (35 loc) · 768 Bytes

floatlist.md

File metadata and controls

49 lines (35 loc) · 768 Bytes
redirect_to layout tags title
page
api
Fyne API "binding.FloatList"

binding.FloatList


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

Usage

type FloatList

type FloatList interface {
	DataList

	Append(value float64) error
	Get() ([]float64, error)
	GetValue(index int) (float64, error)
	Prepend(value float64) error
	Set(list []float64) error
	SetValue(index int, value float64) error
}

FloatList supports binding a list of float64 values.

Since: 2.0

func NewFloatList

func NewFloatList() FloatList

NewFloatList returns a bindable list of float64 values.

Since: 2.0