diff options
| author | Jeff Carr <[email protected]> | 2025-09-09 09:25:10 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-09 09:25:10 -0500 |
| commit | 2677e5c0cddde1f3bc0aadbc60ccf000864b66de (patch) | |
| tree | 8fb707499454e6a16e01432a405bbac8575620db /doGui.go | |
| parent | 8edefa6dadd1f4c3c43e145cc0431654720e2953 (diff) | |
fixes. needs a refactorv0.22.128
Diffstat (limited to 'doGui.go')
| -rw-r--r-- | doGui.go | 31 |
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() { + }) +} |
