summaryrefslogtreecommitdiff
path: root/textbox.go
diff options
context:
space:
mode:
Diffstat (limited to 'textbox.go')
-rw-r--r--textbox.go10
1 files changed, 8 insertions, 2 deletions
diff --git a/textbox.go b/textbox.go
index 123244c..aadf8aa 100644
--- a/textbox.go
+++ b/textbox.go
@@ -6,9 +6,15 @@ import (
func (n *Node) NewTextbox(name string) *Node {
newNode := n.New(name, toolkit.Textbox, func() {
- log(debugGui, "wit/gui clicker()NewTextBox BUT IS EMPTY. FIXME name =", name)
+ log(debugGui, "NewTextbox changed =", name)
})
- send(n, newNode)
+ var a toolkit.Action
+ a.Type = toolkit.Add
+ // a.Widget = &newNode.widget
+ // a.Where = &n.widget
+ // action(&a)
+ newaction(&a, newNode, n)
+
return newNode
}