From 355e5ec968427c2b07b78fec12224f31a65df740 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 14 Nov 2022 14:30:28 -0600 Subject: setup building without plugins on windows notes from github remote keep removing os.Exit() rename from andlabs2 back to andlabs rename files for windows andlabs/ui gocui always sets STDOUT a file in /tmp/ Signed-off-by: Jeff Carr --- window.go | 8 -------- 1 file changed, 8 deletions(-) (limited to 'window.go') diff --git a/window.go b/window.go index 99e5880..9072bdd 100644 --- a/window.go +++ b/window.go @@ -14,7 +14,6 @@ import ( // my guess). func NewWindow() *Node { var newNode *Node -// var t *toolkit.Toolkit title := Config.Title // Windows are created off of the master node of the Binary Tree @@ -38,9 +37,6 @@ func NewWindow() *Node { log.Println("gui.Node.Window()", title) - // t = toolkit.NewWindow(title, w, h) - // n.toolkit = t - for _, aplug := range allPlugins { log.Println("gui.Node.NewWindow() toolkit plugin =", aplug.name) if (aplug.NewWindow == nil) { @@ -50,9 +46,5 @@ func NewWindow() *Node { aplug.NewWindow(&newNode.Widget) } - // TODO: this is still confusing and probably wrong. This needs to communicate through a channel - // newNode.toolkit = n.toolkit.NewButton(name) - // newNode.toolkit.Custom = newNode.Widget.Custom - return newNode } -- cgit v1.2.3