summaryrefslogtreecommitdiff
path: root/button.go
diff options
context:
space:
mode:
Diffstat (limited to 'button.go')
-rw-r--r--button.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/button.go b/button.go
index 6fd0906..d4dfe99 100644
--- a/button.go
+++ b/button.go
@@ -14,6 +14,7 @@ func (n *Node) NewButton(name string, custom func()) *Node {
return newNode
}
+/*
// deprecate this once andlabs is refactored
func callback(i int) bool {
log(debugError, "callback() for widget id =", i)
@@ -27,6 +28,7 @@ func callback(i int) bool {
n.Custom()
return true
}
+*/
// find widget by number
func (n *Node) FindId(i int) (*Node) {