summaryrefslogtreecommitdiff
path: root/box.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 /box.go
parent0993e7d3d06186eac45ad34fd8618565219032ed (diff)
move to "gui/widget"
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'box.go')
-rw-r--r--box.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/box.go b/box.go
index 2e8d8a5..9c8bda4 100644
--- a/box.go
+++ b/box.go
@@ -1,14 +1,14 @@
package gui
import (
- "go.wit.com/gui/toolkits"
+ "go.wit.com/gui/widget"
)
func (parent *Node) NewBox(name string, b bool) *Node {
- newNode := parent.newNode(name, toolkit.Box)
+ newNode := parent.newNode(name, widget.Box)
newNode.B = b
- a := newAction(newNode, toolkit.Add)
+ a := newAction(newNode, widget.Add)
sendAction(a)
return newNode
}