diff options
| author | Jeff Carr <[email protected]> | 2025-02-13 14:27:13 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-13 14:27:13 -0600 |
| commit | 0c0c42ecbb97496628f51c9df08794d53a28db73 (patch) | |
| tree | 78c4bace4f4ce854492908df6e0f5b605f7f653c /tree.go | |
| parent | 9babe64e41d22761027bebef4feade948857d3a7 (diff) | |
works again
Diffstat (limited to 'tree.go')
| -rw-r--r-- | tree.go | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tree.go b/tree.go deleted file mode 100644 index 113bd51..0000000 --- a/tree.go +++ /dev/null @@ -1,31 +0,0 @@ -package main - -/* - This code should be common to all gui plugins - - There are some helper functions that are probably going to be - the same everywhere. Mostly due to handling the binary tree structure - and the channel communication - - For now, it's just a symlink to the 'master' version in - ./toolkit/nocui/common.go -*/ - -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() -} |
