debugging load/unload toolkits
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
95bc56e694
commit
7627b9ef27
12
main.go
12
main.go
|
@ -82,14 +82,26 @@ func DebugWindow2(newB *gui.Node, title string) *gui.Node {
|
||||||
bugWin.LoadToolkit("nocui")
|
bugWin.LoadToolkit("nocui")
|
||||||
})
|
})
|
||||||
|
|
||||||
|
gr.NewButton("unload toolkit 'nocui'", func() {
|
||||||
|
bugWin.CloseToolkit("nocui")
|
||||||
|
})
|
||||||
|
|
||||||
gr.NewButton("load toolkit 'gocui'", func() {
|
gr.NewButton("load toolkit 'gocui'", func() {
|
||||||
bugWin.LoadToolkit("gocui")
|
bugWin.LoadToolkit("gocui")
|
||||||
})
|
})
|
||||||
|
|
||||||
|
gr.NewButton("unload toolkit 'gocui'", func() {
|
||||||
|
bugWin.CloseToolkit("gocui")
|
||||||
|
})
|
||||||
|
|
||||||
gr.NewButton("load toolkit 'andlabs'", func() {
|
gr.NewButton("load toolkit 'andlabs'", func() {
|
||||||
bugWin.LoadToolkit("andlabs")
|
bugWin.LoadToolkit("andlabs")
|
||||||
})
|
})
|
||||||
|
|
||||||
|
gr.NewButton("unload toolkit 'andlabs'", func() {
|
||||||
|
bugWin.CloseToolkit("andlabs")
|
||||||
|
})
|
||||||
|
|
||||||
gr = newB.NewGroup("Learn GO")
|
gr = newB.NewGroup("Learn GO")
|
||||||
|
|
||||||
gr.NewButton("GO Language Internals", func() {
|
gr.NewButton("GO Language Internals", func() {
|
||||||
|
|
Loading…
Reference in New Issue