forked from fyne-io/fyne
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fyne.go
28 lines (28 loc) · 813 Bytes
/
fyne.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// 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"