summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-13 20:11:06 -0600
committerJeff Carr <[email protected]>2025-02-13 20:11:06 -0600
commitede7c71fc73276cd58e1a84138fdfc779609a6f3 (patch)
treed79ffaac85a2674bb4660acc532c7066c191bb28 /structs.go
parenta75f0be4608991a85022981b3e033970ce40abb3 (diff)
subbed in Tables()
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index 06730b7..d012f73 100644
--- a/structs.go
+++ b/structs.go
@@ -7,6 +7,7 @@ package tree
*/
import (
+ "go.wit.com/lib/protobuf/guipb"
"go.wit.com/widget"
)
@@ -29,11 +30,11 @@ type TreeInfo struct {
SetLabel func(*Node, string) // update the "label" (aka "Name") for a widget
SetChecked func(*Node, bool) // set the state of a checkbox
ToolkitClose func() // shutdown and unload the plugin
- ShowTable func(*Node) // attempt at sending a whole table
Show func(*Node) // show a widget
Hide func(*Node) // hide a widget
Enable func(*Node) // enable a widget
Disable func(*Node) // disable a widget
+ ShowTable func(*guipb.Table) // attempt at sending a whole table
// NodeI interface{} // is an interface useful here?
// NodeAction func(*Node, widget.ActionType) // deprecate
}