diff options
| author | Jeff Carr <[email protected]> | 2025-02-19 06:54:54 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-19 17:39:45 -0600 |
| commit | e0775877c8d6a4e3a19fe9c85057b3387788adc2 (patch) | |
| tree | 39969cd2f18ad40e4d2e30d3fb2916017a149a84 /addNode.go | |
| parent | f0257138921c9596312bbe5041e917fd55aefb39 (diff) | |
starting the table window
Diffstat (limited to 'addNode.go')
| -rw-r--r-- | addNode.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -5,8 +5,11 @@ import ( "go.wit.com/widget" ) -// this is in common.go, do not move it func (me *TreeInfo) AddNode(a *widget.Action) *Node { + return AddNode(a) +} + +func AddNode(a *widget.Action) *Node { n := new(Node) n.WidgetType = a.WidgetType n.WidgetId = a.WidgetId |
