diff options
Diffstat (limited to 'label.go')
| -rw-r--r-- | label.go | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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) |
