AppImage file to App

This commit is contained in:
Caleb Gardner
2024-09-28 06:28:54 -05:00
parent 096b5052a8
commit 90f47a3456
4 changed files with 157 additions and 2 deletions
+15 -1
View File
@@ -1,8 +1,22 @@
package main
import (
"fmt"
"cogentcore.org/core/core"
"cogentcore.org/core/events"
)
const (
version = "3.0.0.0"
version = "3.0.0-alpha1"
)
func main() {
b := core.NewBody("LinuxPA")
core.NewButton(b).
SetText("This is a test").
OnClick(func(_ events.Event) {
fmt.Println("This is a test")
})
b.RunMainWindow()
}