summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-03 00:12:58 -0600
committerJeff Carr <[email protected]>2025-03-03 00:12:58 -0600
commit1e97138a1ca32f9f45974df8f7d093c15143b6ac (patch)
tree8a44888f08ddab33a73e4351f17d436720bf7e92 /structs.go
parent3fb1d3ef70d6a82a8658866d9a14e13adbcf3104 (diff)
finally add a ToolkitInit()
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go1
1 files changed, 1 insertions, 0 deletions
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