summaryrefslogtreecommitdiff
path: root/tree.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-14 18:20:30 -0600
committerJeff Carr <[email protected]>2025-02-14 18:20:30 -0600
commit9e177d2636572a6d6a41b50043316e2f6918e6ab (patch)
tree7c60e74b3c181f2ac0fef46a9abcb8ddd90bfab4 /tree.go
parent2b8673e04c885dcee68a9c4912a5d6150a615505 (diff)
fixed for new 'tree' packagev0.21.17v0.21.16v0.21.15v0.21.14v0.21.13
Diffstat (limited to 'tree.go')
-rw-r--r--tree.go24
1 files changed, 0 insertions, 24 deletions
diff --git a/tree.go b/tree.go
deleted file mode 100644
index 57f283a..0000000
--- a/tree.go
+++ /dev/null
@@ -1,24 +0,0 @@
-package main
-
-/*
- This is reference code for toolkit developers
-*/
-
-import (
- "go.wit.com/widget"
-)
-
-// Other goroutines must use this to access the GUI
-//
-// You can not acess / process the GUI thread directly from
-// other goroutines. This is due to the nature of how
-// Linux, MacOS and Windows work (they all work differently. suprise. surprise.)
-//
-// this sets the channel to send user events back from the plugin
-func Callback(guiCallback chan widget.Action) {
- me.myTree.Callback(guiCallback)
-}
-
-func PluginChannel() chan widget.Action {
- return me.myTree.PluginChannel()
-}