summaryrefslogtreecommitdiff
path: root/button.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-05-09 08:25:10 -0500
committerJeff Carr <[email protected]>2023-05-09 08:25:10 -0500
commite19a728d7fe0059b87e7af84c7155fd6559ced6d (patch)
treeb0e40a9102137b73570fc624df03c78f01aaa10e /button.go
parent52b197ebf33192eaeda64bbd4acb2e283a45b097 (diff)
andlabs grid placement still broken
Signed-off-by: Jeff Carr <[email protected]>
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) {