diff --git a/eventChannel.go b/eventChannel.go index 80ca5a9..441ef6d 100644 --- a/eventChannel.go +++ b/eventChannel.go @@ -12,9 +12,6 @@ import "image/color" import "github.com/golang/protobuf/proto" import pb "git.wit.com/wit/witProtobuf" -// import "github.com/andlabs/ui" -// import _ "github.com/andlabs/ui/winmanifest" - import "git.wit.com/wit/gui" var mychannel chan *pb.Event diff --git a/test2/main.go b/test2/main.go index d539fbc..a94371f 100644 --- a/test2/main.go +++ b/test2/main.go @@ -19,24 +19,12 @@ var state string func splashClose(a int, b string) { log.Println("GOT splashClose(a,b) =", a, b) - // smallBox.Parent = nil - log.Println("cloudBox:") - log.Println("cloudBox:") - log.Println("cloudBox:") - spew.Dump(cloudBox) + + log.Println("cloudBox Delete(0) START") cloudBox.Delete(0) - // cloudBox.Delete(1) + log.Println("smallBox.Hide() START") smallBox.Hide() - // smallBox.Parent = nil - log.Println("cloudBox:") - log.Println("cloudBox:") - log.Println("cloudBox:") - spew.Dump(cloudBox) - log.Println("smallBox:") - log.Println("smallBox:") - log.Println("smallBox:") - spew.Dump(smallBox) - // cloudBox.Destroy() + state = "kill" } @@ -74,6 +62,7 @@ func watchGUI() { log.Println("state = kill") smallBox.Destroy() state = "account1" + smallBox = nil } if (state == "account1") { log.Println("Display the splash box")