From 0674bd89b798f7512462402817c496e8a80ac3d4 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 18 Jan 2024 00:12:59 -0600 Subject: move everything into seperate repos Signed-off-by: Jeff Carr --- andlabs/tree.go | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 andlabs/tree.go (limited to 'andlabs/tree.go') diff --git a/andlabs/tree.go b/andlabs/tree.go deleted file mode 100644 index b39857c..0000000 --- a/andlabs/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/lib/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() -} -- cgit v1.2.3