diff options
| author | Jeff Carr <[email protected]> | 2025-02-01 13:43:51 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-01 13:43:51 -0600 |
| commit | e4f0524bdf5331d91c95c9cb89eb4f40138a0ab1 (patch) | |
| tree | da74a51b73f8c9949062b0a2b8965c3c917af18e /debug.go | |
| parent | ebb03139bb875cef38dbaff1aaaf5a546ff1ce1a (diff) | |
lots of code cleanup and debugging work
Diffstat (limited to 'debug.go')
| -rw-r--r-- | debug.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -16,14 +16,15 @@ func (w *guiWidget) dumpTree(s string) { log.Log(ERROR, "dump w.TK == nil", w.node.WidgetId, w.WidgetType, w.String()) return } - w.showWidgetPlacement("dumpTree() " + s) + w.dumpWidget("dumpTree() " + s) for _, child := range w.children { child.dumpTree(s) } } -func (w *guiWidget) showWidgetPlacement(s string) { +// a standard function to print out information about a widget +func (w *guiWidget) dumpWidget(s string) { var s1 string var pId int if w.node.Parent == nil { |
