summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-30 11:07:35 -0600
committerJeff Carr <[email protected]>2024-01-30 11:07:35 -0600
commit7627b9ef2754d973401572cfc4ff681768ad4d73 (patch)
tree8e6188a28aed7a45ed204b151e9aad6407c49a77
parent95bc56e694d745b4513e232fe23df326bb193f31 (diff)
debugging load/unload toolkitsv0.20.3v0.20.2
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--main.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/main.go b/main.go
index ea42b26..5731e27 100644
--- a/main.go
+++ b/main.go
@@ -82,14 +82,26 @@ func DebugWindow2(newB *gui.Node, title string) *gui.Node {
bugWin.LoadToolkit("nocui")
})
+ gr.NewButton("unload toolkit 'nocui'", func() {
+ bugWin.CloseToolkit("nocui")
+ })
+
gr.NewButton("load toolkit 'gocui'", func() {
bugWin.LoadToolkit("gocui")
})
+ gr.NewButton("unload toolkit 'gocui'", func() {
+ bugWin.CloseToolkit("gocui")
+ })
+
gr.NewButton("load toolkit 'andlabs'", func() {
bugWin.LoadToolkit("andlabs")
})
+ gr.NewButton("unload toolkit 'andlabs'", func() {
+ bugWin.CloseToolkit("andlabs")
+ })
+
gr = newB.NewGroup("Learn GO")
gr.NewButton("GO Language Internals", func() {