diff options
| author | Jeff Carr <[email protected]> | 2024-01-05 13:18:44 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-05 13:18:44 -0600 |
| commit | b7cbcf725d493f8a6031b369ff34bdb0686699b0 (patch) | |
| tree | 8cb44ae400beb894d547875fcc68575e9ae4c9e3 /window.go | |
| parent | 0993e7d3d06186eac45ad34fd8618565219032ed (diff) | |
move to "gui/widget"
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 } |
