diff options
| author | Jeff Carr <[email protected]> | 2024-01-17 21:31:49 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-17 21:31:49 -0600 |
| commit | 841e6252c95244f0ee7faf2c01d33f69a8ab483a (patch) | |
| tree | ef400228622b87611168db2227269ba7fd56625d /andlabs/widget.go | |
| parent | ba95c13799740b5f55541fc5e8ab9f1d34f7e421 (diff) | |
common tree package for toolkitsv0.12.4
This update provides *lots* of toolkit updates. This will allow
the next step of debugging the gocui toolkit to make it work
again. There are new common routines for handling the plugin
channel communication
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'andlabs/widget.go')
| -rw-r--r-- | andlabs/widget.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/andlabs/widget.go b/andlabs/widget.go index 414ca3d..d6d89ba 100644 --- a/andlabs/widget.go +++ b/andlabs/widget.go @@ -2,16 +2,16 @@ package main import ( "go.wit.com/gui/widget" + "go.wit.com/gui/toolkits/tree" ) -// this is specific to the nocui toolkit -func initWidget(n *node) *guiWidget { +func initWidget(n *tree.Node) *guiWidget { var w *guiWidget w = new(guiWidget) if n.WidgetType == widget.Root { n.WidgetId = 0 - me.rootNode = n + me.treeRoot = n return w } return w |
