diff options
Diffstat (limited to 'doGui.go')
| -rw-r--r-- | doGui.go | 34 |
1 files changed, 15 insertions, 19 deletions
@@ -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() { + }) + */ } |
