diff options
| author | Jeff Carr <[email protected]> | 2021-10-07 21:04:16 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-10-07 21:04:16 -0500 |
| commit | e7a631bad14cc4dc3855ee545d01bf7eb96901f5 (patch) | |
| tree | ae90667d76ec393c95b8ef532509a13cdf26c546 | |
| parent | 4f29e633689954185f6ad865693d6fca6b82caf0 (diff) | |
NODE: continued work on implementing a node tree
| -rw-r--r-- | window.go | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -51,7 +51,7 @@ func ErrorWindow(gw *GuiWindow, msg1 string, msg2 string) { // actual window but that does not appear to work on the MacOS or Windows // func InitWindow(gw *GuiWindow, name string, axis int) *GuiBox { - log.Println("InitWindow() START") + log.Println("gui.InitWindow() START") var box *GuiBox if gw == nil { @@ -65,7 +65,7 @@ func InitWindow(gw *GuiWindow, name string, axis int) *GuiBox { // This is the first window. One must create it here if gw == nil { - log.Println("initWindow() ADDING ui.NewWindow()") + log.Println("gui.initWindow() ADDING ui.NewWindow()") n := uiNewWindow(name, Config.Height, Config.Width) box.node = n if (n.box == nil) { @@ -73,11 +73,10 @@ func InitWindow(gw *GuiWindow, name string, axis int) *GuiBox { } w := n.uiWindow newGuiWindow.UiWindow = w - os.Exit(-1) // newGuiWindow.UiWindow.SetTitle("test") w.OnClosing(func(*ui.Window) bool { - log.Println("initTabWindow() OnClosing() THIS WINDOW IS CLOSING newGuiWindow=", newGuiWindow) + log.Println("gui.InitWindow() OnClosing() THIS WINDOW IS CLOSING newGuiWindow=", newGuiWindow) // newGuiWindow.UiWindow.Destroy() if Config.Exit == nil { ui.Quit() |
