Logo Fyne.io
  • Docs
  • Apps
  • Add-ons
  • Conference
  • Blog
  • Events
  • Support

Getting Started

Getting Started Creating your first Fyne app Run Fyne Demo Application and RunLoop Updating Content in your GUI Window Handling Using Goroutines Testing Graphical Apps Packaging for Desktop Mobile Packaging Run in a Browser App Metadata Distributing to App Stores Compiling for different platforms

Exploring Fyne

Canvas and CanvasObject Container and Layouts Widget List Layout List Dialog List Theme Icons Adding Shortcuts to an App Using the Preferences API Adding app translations System Tray Menu Data Binding Migrations Compile Options

Drawing and Animation

Rectangle Text Line Circle Image Raster Gradient Animation

Containers and Layout

Box Grid Grid Wrap Border Form Center Stack AppTabs

Widgets

Label Button Entry Choices Form ProgressBar Toolbar

Collections

List Table Tree

Data Binding

Data Binding Binding Simple Widgets Two-Way Binding Data Conversion List Data

Extending Fyne

Building a Custom Layout Writing a Custom Widget Bundling resources Creating a Custom Theme Extending Widgets Numerical Entry

Architecture

Geometry Scaling Widgets Organisation and Packages

Frequently Asked Questions

Layout and Widget Size Theme and Customisation Troubleshooting

API Documentation

Upgrade to v2.6 Fyne API v2.6 app canvas container data/binding data/validation dialog driver driver/desktop driver/mobile driver/software lang layout storage storage/repository test theme widget

List My App

Fyne API "binding"

binding


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

Package binding provides support for binding data to widgets.

Usage

const DataTreeRootID = ""

DataTreeRootID const is the value used as ID for the root of any tree binding.

types

  • Bool
  • BoolList
  • BoolTree
  • Bytes
  • BytesList
  • BytesTree
  • DataItem
  • DataList
  • DataListener
  • DataMap
  • DataTree
  • ExternalBool
  • ExternalBoolList
  • ExternalBoolTree
  • ExternalBytes
  • ExternalBytesList
  • ExternalBytesTree
  • ExternalFloat
  • ExternalFloatList
  • ExternalFloatTree
  • ExternalInt
  • ExternalIntList
  • ExternalIntTree
  • ExternalRune
  • ExternalRuneList
  • ExternalRuneTree
  • ExternalString
  • ExternalStringList
  • ExternalStringTree
  • ExternalURI
  • ExternalURIList
  • ExternalURITree
  • ExternalUntyped
  • ExternalUntypedList
  • ExternalUntypedMap
  • Float
  • FloatList
  • FloatTree
  • Int
  • IntList
  • IntTree
  • Rune
  • RuneList
  • RuneTree
  • String
  • StringList
  • StringTree
  • Struct
  • URI
  • URIList
  • URITree
  • Untyped
  • UntypedList
  • UntypedMap


Improve this page


If you like the Fyne toolkit please consider sponsoring our work.