summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-03 00:12:12 -0600
committerJeff Carr <[email protected]>2025-03-03 00:12:12 -0600
commit9554b6a28765db7debce2cc27587476dc90e5d3e (patch)
treec51498613fe49a106d657ef70a94643510a4929e /window.go
parent71c137c56b5541b3c049d513ec3dcf1c3502fe08 (diff)
starting to stub in widgetpb
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
+}