summaryrefslogtreecommitdiff
path: root/andlabs/delete.go
diff options
context:
space:
mode:
Diffstat (limited to 'andlabs/delete.go')
-rw-r--r--andlabs/delete.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/andlabs/delete.go b/andlabs/delete.go
index 7b6c2da..c6fa6d2 100644
--- a/andlabs/delete.go
+++ b/andlabs/delete.go
@@ -2,7 +2,7 @@ package main
// if you include more than just this import
// then your plugin might be doing something un-ideal (just a guess from 2023/02/27)
-import "go.wit.com/gui/toolkits"
+import "go.wit.com/gui/widget"
// delete the child widget from the parent
// p = parent, c = child
@@ -21,7 +21,7 @@ func (n *node) destroy() {
}
switch n.WidgetType {
- case toolkit.Button:
+ case widget.Button:
log(true, "Should delete Button here:", n.Name)
log(true, "Parent:")
pt.Dump(true)
@@ -39,7 +39,7 @@ func (n *node) destroy() {
ct.uiButton.Destroy()
}
- case toolkit.Window:
+ case widget.Window:
log(true, "Should delete Window here:", n.Name)
default:
log(true, "Fuckit, let's destroy a button")