diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -14,6 +14,14 @@ import ( "go.wit.com/toolkits/tree" ) +func queueToolkitClose() { + me.baseGui.Close() +} + +func queueSetChecked(n *tree.Node, b bool) { + setChecked(n, b) +} + // sets defaults and establishes communication // to this toolkit from the wit/gui golang package func init() { @@ -33,6 +41,8 @@ func init() { me.myTree.SetLabel = newSetLabel me.myTree.SetText = newSetText me.myTree.AddText = newAddText + me.myTree.SetChecked = queueSetChecked + me.myTree.ToolkitClose = queueToolkitClose log.Log(NOW, "Init() start pluginChan") log.Sleep(.1) // probably not needed, but in here for now under development |
