summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-05 13:18:44 -0600
committerJeff Carr <[email protected]>2024-01-05 13:18:44 -0600
commitb7cbcf725d493f8a6031b369ff34bdb0686699b0 (patch)
tree8cb44ae400beb894d547875fcc68575e9ae4c9e3 /window.go
parent0993e7d3d06186eac45ad34fd8618565219032ed (diff)
move to "gui/widget"
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'window.go')
-rw-r--r--window.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/window.go b/window.go
index 30e9484..a0676b2 100644
--- a/window.go
+++ b/window.go
@@ -2,7 +2,7 @@ package gui
import (
"go.wit.com/log"
- "go.wit.com/gui/toolkits"
+ "go.wit.com/gui/widget"
)
// This routine creates a blank window with a Title and size (W x H)
@@ -11,12 +11,12 @@ func (parent *Node) NewWindow(title string) *Node {
var newNode *Node
// Windows are created off of the master node of the Binary Tree
- newNode = parent.newNode(title, toolkit.Window)
+ newNode = parent.newNode(title, widget.Window)
newNode.Custom = StandardExit
log.Info("NewWindow()", title)
- a := newAction(newNode, toolkit.Add)
+ a := newAction(newNode, widget.Add)
sendAction(a)
return newNode
}