summaryrefslogtreecommitdiff
path: root/andlabs/delete.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-05 13:30:00 -0600
committerJeff Carr <[email protected]>2024-01-05 13:30:00 -0600
commit327e14f05154b1cfdb9af27b387cc3227cedca0d (patch)
treea040d4bd5a558e4da5a747cd8684363801864f29 /andlabs/delete.go
parentb9868cc873501e9e73c76b76a99d7b72cadab9b0 (diff)
andlabs compiles with 'go.wit.com/gui/widget'
Signed-off-by: Jeff Carr <[email protected]>
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")