diff options
| author | Jeff Carr <[email protected]> | 2025-03-03 00:12:12 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-03 00:12:12 -0600 |
| commit | 9554b6a28765db7debce2cc27587476dc90e5d3e (patch) | |
| tree | c51498613fe49a106d657ef70a94643510a4929e /window.go | |
| parent | 71c137c56b5541b3c049d513ec3dcf1c3502fe08 (diff) | |
starting to stub in widgetpb
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -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 +} |
