summaryrefslogtreecommitdiff
path: root/label.go
diff options
context:
space:
mode:
Diffstat (limited to 'label.go')
-rw-r--r--label.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/label.go b/label.go
index 6542a68..f51ce66 100644
--- a/label.go
+++ b/label.go
@@ -1,16 +1,15 @@
package gui
-import "log"
// import "errors"
// import "regexp"
func (n *Node) NewLabel(text string) *Node {
- newNode := n.New(text)
+ newNode := n.New(text, "Label")
for _, aplug := range allPlugins {
- log.Println("gui.NewLabel() aplug =", aplug.name, "name =", newNode.Widget.Name)
+ log(debugGui, "gui.NewLabel() aplug =", aplug.name, "name =", newNode.Widget.Name)
if (aplug.NewLabel == nil) {
- log.Println("\tgui.NewLabel() aplug.NewLabel = nil", aplug.name)
+ log(debugGui, "\tgui.NewLabel() aplug.NewLabel = nil", aplug.name)
continue
}
aplug.NewLabel(&n.Widget, &newNode.Widget)