diff options
| author | Jeff Carr <[email protected]> | 2025-02-14 18:20:30 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-14 18:20:30 -0600 |
| commit | 9e177d2636572a6d6a41b50043316e2f6918e6ab (patch) | |
| tree | 7c60e74b3c181f2ac0fef46a9abcb8ddd90bfab4 /tree.go | |
| parent | 2b8673e04c885dcee68a9c4912a5d6150a615505 (diff) | |
Diffstat (limited to 'tree.go')
| -rw-r--r-- | tree.go | 24 |
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() -} |
