summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2022-11-14 14:30:28 -0600
committerJeff Carr <[email protected]>2022-11-14 14:30:28 -0600
commit355e5ec968427c2b07b78fec12224f31a65df740 (patch)
tree99754f9f6888c166a435d14e3a71cc9304f14970 /window.go
parent207cf7ea16f1da8fa9f893504d77a2856298cc22 (diff)
setup building without plugins on windowsv0.5.1
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 <[email protected]>
Diffstat (limited to 'window.go')
-rw-r--r--window.go8
1 files changed, 0 insertions, 8 deletions
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
}