diff options
| author | Jeff Carr <[email protected]> | 2024-01-19 02:56:10 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-19 02:56:10 -0600 |
| commit | d4891c4d58380a81275d315151c2abc58ca1f291 (patch) | |
| tree | ac274458682a23dda64d2fd2e12cca00d49e2222 /main.go | |
| parent | b15369d85df247a460f0c0c18ac9578c79ca51a3 (diff) | |
cleanup andlabs
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -67,7 +67,7 @@ func watchCallback() { n := me.rootNode.findId(a.WidgetId) if n != nil { log.Verbose("guiChan() FOUND widget id =", n.id, n.progname) - n.goUserEvent(a) + n.gotUserEvent(a) break } @@ -132,8 +132,8 @@ func watchCallback() { // hopefully everything is designed smart enough // that it doesn't matter what happens outside of here // TODO: implement throttling someday -func (n *Node) goUserEvent(a widget.Action) { - log.Info("goUserEvent() node =", n.id, n.progname) +func (n *Node) gotUserEvent(a widget.Action) { + log.Info("gotUserEvent() received event node =", n.id, n.progname, a.Value) n.value = a.Value if n.Custom == nil { log.Info("a Custom() function was not set for this widget") |
