summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
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
}