go-deb/doGui.go

32 lines
554 B
Go

// 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() {
})
}