LEDController/cmd/emulator/main.go
Martyn Ranyard 3e04b69b97 More refactor plus start for the emulator
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
2020-05-18 11:47:30 +02:00

20 lines
274 B
Go
Executable file

package main
import (
"fyne.io/fyne/app"
"fyne.io/fyne/widget"
)
func main() {
app := app.New()
w := app.NewWindow("Hello")
w.SetContent(widget.NewVBox(
widget.NewLabel("Hello Fyne!"),
widget.NewButton("Quit", func() {
app.Quit()
}),
))
w.ShowAndRun()
}