|
|
|
|
|
by tuyguntn
413 days ago
|
|
You forced me to stand up and write the code. Here is your cross-platform desktop app in 10 lines, pretty sure others can do better than me: package main
import (
"fyne.io/fyne/v2/app"
"fyne.io/fyne/v2/widget"
)
func main() {
w := app.New().NewWindow("One Button App")
w.SetContent(widget.NewButton("Do Nothing", func() {}))
w.ShowAndRun()
}
|
|
button .b -text "Do Nothing" -command {exit}; pack .b