Upgrade to v2.5
Fyne API v2.5
app
canvas
container
data/binding
package binding
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
ExternalUntyped
ExternalUntypedList
ExternalUntypedMap
ExternalUntypedTree
ExternalURI
ExternalURIList
ExternalURITree
Float
FloatList
FloatTree
Int
IntList
IntTree
Rune
RuneList
RuneTree
String
StringList
StringTree
Struct
Untyped
UntypedList
UntypedMap
UntypedTree
URI
URIList
URITree
data/validation
dialog
driver
driver/desktop
driver/mobile
driver/software
lang
layout
storage
storage/repository
test
theme
widget
Fyne API "binding.URI"
binding.URI
import "fyne.io/fyne/v2/data/binding"
Usage
type URI
type URI interface {
DataItem
Get() (fyne.URI, error)
Set(fyne.URI) error
}
URI supports binding a fyne.URI value.
Since:
2.1
func NewURI
func NewURI() URI
NewURI returns a bindable fyne.URI value that is managed internally.
Since:
2.1
func StringToURI
func StringToURI(str String) URI
StringToURI creates a binding that connects a String data item to a URI. Changes to the String will be parsed and pushed to the URI if the parse was successful, and setting the URI update the String binding.
Since:
2.1