summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-12 21:20:12 -0600
committerJeff Carr <[email protected]>2024-02-12 21:20:12 -0600
commit6c444a641ac3a1b0142840a5e1a8cdcb0f92cfb8 (patch)
tree42fc42727bc93792a7751aac0ec333ff1d1e734e
parentac4999c7217a27fd53fd81f80df9805de21e0599 (diff)
remove this to see what happensv0.21.0v0.20.8v0.20.6v0.20.5v0.20.4
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--main.go29
1 files changed, 0 insertions, 29 deletions
diff --git a/main.go b/main.go
deleted file mode 100644
index 9865f61..0000000
--- a/main.go
+++ /dev/null
@@ -1,29 +0,0 @@
-package main
-
-import (
- "go.wit.com/log"
- "go.wit.com/gui"
-)
-
-var myGui *gui.Node // This is the beginning of the binary tree of widgets
-
-// go will sit here until the window exits
-func main() {
- myGui = gui.New().Default()
- myGui.LoadToolkit("nocui")
-
- buildworld()
- gui.Watchdog()
-}
-
-// This initializes the first window, a group and a button
-func buildworld() {
- window := myGui.NewWindow("build world")
-
- box := window.NewBox("vbox", false)
- group := box.NewGroup("groupy")
- grid := group.NewGrid("gridiron", 2, 1)
- grid.NewButton("build", func() {
- log.Println("make something to build everything")
- })
-}