diff options
| author | Jeff Carr <[email protected]> | 2022-10-19 13:23:22 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2022-10-19 13:23:22 -0500 |
| commit | f3af1f5b7ff78b3f73d7510622fc9633dec36d35 (patch) | |
| tree | e4868584d5e19942938aaa122b2e1cab377db000 /window-golang-debug.go | |
| parent | f7b1036e544238d65b0e3ad46d08075aa4177032 (diff) | |
Refactor to 'gui/toolkit/'
* add a example cmds/consolemouse
uses a console button to launch the andlabs/ui
* fix wrong return value in toolkit/NewLabel()
* redirect STDIN output to a file
* wonderful fix of Window() exit
* finally remove the ancient stupid variables x & y
* phase out struct 'box' and use 'node' instead
* better names for things: use NewFoo() and NewBar()
Diffstat (limited to 'window-golang-debug.go')
| -rw-r--r-- | window-golang-debug.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/window-golang-debug.go b/window-golang-debug.go index 1e47081..8598f3a 100644 --- a/window-golang-debug.go +++ b/window-golang-debug.go @@ -26,12 +26,12 @@ func GolangDebugWindow() { Config.Exit = StandardClose w = NewWindow() - t = w.AddTab("Debug Tab", nil) + t = w.NewTab("Debug Tab") log.Println("debugWindow() START") /////////////////////////////// Column DEBUG GOLANG ////////////////////// - g := t.NewGroup("GO Language") + g := t.AddGroup("GO Language") g.AddButton("runtime.Stack()", func (*Node) { log.Println("\tSTART") |
