adam-gui/vendor/fyne.io/fyne/v2/fyne.go

29 lines
781 B
Go
Raw Permalink Normal View History

2024-04-29 19:13:50 +02:00
// Package fyne describes the objects and components available to any Fyne app.
// These can all be created, manipulated and tested without rendering (for speed).
// Your main package should use the app package to create an application with
// a default driver that will render your UI.
//
// A simple application may look like this:
//
// package main
//
// import "fyne.io/fyne/v2/app"
// import "fyne.io/fyne/v2/container"
// import "fyne.io/fyne/v2/widget"
//
// func main() {
// a := app.New()
// w := a.NewWindow("Hello")
//
// hello := widget.NewLabel("Hello Fyne!")
// w.SetContent(container.NewVBox(
// hello,
// widget.NewButton("Hi!", func() {
// hello.SetText("Welcome :)")
// }),
// ))
//
// w.ShowAndRun()
// }
package fyne // import "fyne.io/fyne/v2"