summaryrefslogtreecommitdiff
path: root/doGui.go
diff options
context:
space:
mode:
Diffstat (limited to 'doGui.go')
-rw-r--r--doGui.go34
1 files changed, 15 insertions, 19 deletions
diff --git a/doGui.go b/doGui.go
index 38973a5..cc89f15 100644
--- a/doGui.go
+++ b/doGui.go
@@ -5,27 +5,23 @@ 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)
- }
+ win := makebasicWindow()
+ win.Show()
+ /*
+ win := gadgets.NewGenericWindow("testing", "Current Conversations")
+ win.Custom = func() {
+ log.Warn("MAIN WINDOW CLOSE")
+ gui.StandardExit()
+ os.Exit(0)
+ }
- grid := win.Group.RawGrid()
+ grid := win.Group.RawGrid()
- grid.NewLabel("label worked")
- grid.NextRow()
+ grid.NewLabel("label worked")
+ grid.NextRow()
- grid.NewButton("more", func() {
- })
+ grid.NewButton("more", func() {
+ })
+ */
}