From 1e97138a1ca32f9f45974df8f7d093c15143b6ac Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 3 Mar 2025 00:12:58 -0600 Subject: finally add a ToolkitInit() --- structs.go | 1 + 1 file changed, 1 insertion(+) (limited to 'structs.go') diff --git a/structs.go b/structs.go index 7919856..8224df6 100644 --- a/structs.go +++ b/structs.go @@ -29,6 +29,7 @@ type TreeInfo struct { SetTitle func(*Node, string) // update the title of a window or tab SetLabel func(*Node, string) // update the "label" (aka "Name") for a widget SetChecked func(*Node, bool) // set the state of a checkbox + ToolkitInit func() // init the plugin ToolkitClose func() // shutdown and unload the plugin Show func(*Node) // show a widget Hide func(*Node) // hide a widget -- cgit v1.2.3