summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
Diffstat (limited to 'window.go')
-rw-r--r--window.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/window.go b/window.go
index e0a1b01..ef4a804 100644
--- a/window.go
+++ b/window.go
@@ -117,3 +117,22 @@ func (n *Node) TestDraw() {
}
return
}
+
+func (n *Node) TestPB() {
+ if n == nil {
+ return
+ }
+
+ a := getNewAction(me.rootNode, widget.Show)
+
+ log.Info("gui.UpdateTable() TODO: move the widget update val logic here instead of tree")
+
+ a.WidgetPB, err = me.widgets.Marshal()
+ if err != nil {
+ log.Info("unmarshal error", err)
+ return
+ }
+ sendActionToPlugin(a)
+
+ return
+}