From 1552eedc185e85b46498898e68867afaef308301 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 25 Mar 2025 07:27:37 -0500 Subject: save the output window state --- table.go | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'table.go') diff --git a/table.go b/table.go index efc0b4e..df16fc2 100644 --- a/table.go +++ b/table.go @@ -13,20 +13,6 @@ import ( "go.wit.com/widget" ) -/* -func initGridPB(pb *guipb.Widget) *guiWidget { - var w *guiWidget - w = new(guiWidget) - - w.pb = pb - w.parent = me.treeRoot.TK.(*guiWidget) - w.wtype = widget.Window - w.cuiName = fmt.Sprintf("%d %s", pb.Id, "TK") - w.labelN = pb.Name - return w -} -*/ - func initGridPB(pb *guipb.Widget) *guiWidget { var w *guiWidget w = new(guiWidget) @@ -35,6 +21,7 @@ func initGridPB(pb *guipb.Widget) *guiWidget { w.wtype = widget.Grid w.cuiName = fmt.Sprintf("%d %s", pb.Id, "TK") w.labelN = pb.Name + w.isTable = true return w } -- cgit v1.2.3