summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index a3471a7..f86dc54 100644
--- a/main.go
+++ b/main.go
@@ -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")