summaryrefslogtreecommitdiff
path: root/textbox.go
diff options
context:
space:
mode:
Diffstat (limited to 'textbox.go')
-rw-r--r--textbox.go10
1 files changed, 4 insertions, 6 deletions
diff --git a/textbox.go b/textbox.go
index 639631d..376b75d 100644
--- a/textbox.go
+++ b/textbox.go
@@ -1,18 +1,16 @@
package gui
-import "log"
-
func (n *Node) NewTextbox(name string) *Node {
- newNode := n.New(name)
+ newNode := n.New(name, "Textbox")
newNode.Widget.Custom = func() {
- log.Println("even newer clicker() name in NewTextBox", newNode.Widget)
+ log(debugGui, "wit/gui clicker()NewTextBox BUT IS EMPTY. FIXME", newNode.Widget)
}
for _, aplug := range allPlugins {
- log.Println("gui.NewTextbox() aplug =", aplug.name, "name =", newNode.Widget.Name)
+ log(debugGui, "gui.NewTextbox() aplug =", aplug.name, "name =", newNode.Widget.Name)
if (aplug.NewTextbox == nil) {
- log.Println("\tgui.NewTextbox() aplug.NewTextbox = nil", aplug.name)
+ log(debugGui, "\tgui.NewTextbox() aplug.NewTextbox = nil", aplug.name)
continue
}
aplug.NewTextbox(&n.Widget, &newNode.Widget)