diff options
Diffstat (limited to 'button.go')
| -rw-r--r-- | button.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -9,12 +9,14 @@ func (n *Node) NewButton(name string, custom func()) *Node { a.Name = name a.Text = name a.ActionType = toolkit.Add + // deprecate this once andlabs is refactored a.Callback = callback newaction(&a, newNode, n) return newNode } +// deprecate this once andlabs is refactored func callback(i int) bool { log(debugError, "callback() for widget id =", i) n := Config.rootNode.FindId(i) |
