From 44cd73f8e70beb436862aa0134a7c044f8e2ec7b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 8 Oct 2021 07:36:53 -0500 Subject: NODE: going down a rabbit hole --- main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index cb130ef..0876e4a 100644 --- a/main.go +++ b/main.go @@ -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) -- cgit v1.2.3