diff options
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 } |
