summaryrefslogtreecommitdiff
path: root/doGui.go
diff options
context:
space:
mode:
Diffstat (limited to 'doGui.go')
-rw-r--r--doGui.go31
1 files changed, 31 insertions, 0 deletions
diff --git a/doGui.go b/doGui.go
new file mode 100644
index 0000000..38973a5
--- /dev/null
+++ b/doGui.go
@@ -0,0 +1,31 @@
+// Copyright 2017-2025 WIT.COM Inc. All rights reserved.
+// Use of this source code is governed by the GPL 3.0
+
+package main
+
+// An app to submit patches for the 30 GO GUI repos
+
+import (
+ "os"
+
+ "go.wit.com/gui"
+ "go.wit.com/lib/gadgets"
+ "go.wit.com/log"
+)
+
+func doGui() {
+ win := gadgets.NewGenericWindow("testing", "Current Conversations")
+ win.Custom = func() {
+ log.Warn("MAIN WINDOW CLOSE")
+ gui.StandardExit()
+ os.Exit(0)
+ }
+
+ grid := win.Group.RawGrid()
+
+ grid.NewLabel("label worked")
+ grid.NextRow()
+
+ grid.NewButton("more", func() {
+ })
+}