diff options
| author | Jeff Carr <[email protected]> | 2021-10-08 07:36:53 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-10-08 07:36:53 -0500 |
| commit | 44cd73f8e70beb436862aa0134a7c044f8e2ec7b (patch) | |
| tree | c1ae8e11430875a747b138928f3ca7806669fe41 /main.go | |
| parent | 0c9547a066386f82f8e724c0f61c4d31dc5351e2 (diff) | |
NODE: going down a rabbit hole
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -31,7 +31,8 @@ func ExampleWindow() { log.Println("START gui.ExampleWindow()") title := "Test Window" - box := InitWindow(nil, title, 0) + node := InitWindow(nil, nil, title, 0) + box := node.box window := box.Window log.Println("box =", box) log.Println("window =", window) @@ -44,7 +45,8 @@ func DebugWindow() { log.Println("START gui.ExampleWindow()") title := "Debug Window" - box := InitWindow(nil, title, 0) + node := InitWindow(nil, nil, title, 0) + box := node.box window := box.Window log.Println("box =", box) log.Println("window =", window) |
