summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-19 02:56:10 -0600
committerJeff Carr <[email protected]>2024-01-19 02:56:10 -0600
commitd4891c4d58380a81275d315151c2abc58ca1f291 (patch)
treeac274458682a23dda64d2fd2e12cca00d49e2222 /main.go
parentb15369d85df247a460f0c0c18ac9578c79ca51a3 (diff)
cleanup andlabs
Signed-off-by: Jeff Carr <[email protected]>
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")