From ede7c71fc73276cd58e1a84138fdfc779609a6f3 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 13 Feb 2025 20:11:06 -0600 Subject: subbed in Tables() --- structs.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'structs.go') 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 } -- cgit v1.2.3