diff options
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") |
