diff options
Diffstat (limited to 'click.go')
| -rw-r--r-- | click.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -242,7 +242,7 @@ func doWidgetClick(n *tree.Node) { } me.ddNode = n log.Log(NOW, "new dns list should be set to:", dnsList) - tk.label = dnsList + tk.labelN = dnsList tk.SetText(dnsList) SetVisible(me.ddview, true) } @@ -297,7 +297,7 @@ func click(g *gocui.Gui, v *gocui.View) error { var w *guiWidget w = n.TK.(*guiWidget) if n != nil { - log.Log(NOW, "click() Found widget =", n.WidgetId, n.String(), ",", w.label) + log.Log(NOW, "click() Found widget =", n.WidgetId, n.String(), ",", w.labelN) if n.String() == "DropBox" { log.Log(NOW, "click() this is the dropdown menu. set a flag here what did I click? where is the mouse?") log.Log(NOW, "click() set a global dropdown clicked flag=true here") @@ -372,7 +372,7 @@ func ctrlDown(g *gocui.Gui, v *gocui.View) error { var tk *guiWidget tk = me.ctrlDown.TK.(*guiWidget) - tk.label = found.String() + tk.labelN = found.String() tk.cuiName = "ctrlDown" // me.ctrlDown.parent = me.rootNode } @@ -381,7 +381,7 @@ func ctrlDown(g *gocui.Gui, v *gocui.View) error { if found == nil { found = me.treeRoot } - tk.label = found.String() + tk.labelN = found.String() newR := realGocuiSize(found) tk.gocuiSize.w0 = newR.w0 tk.gocuiSize.h0 = newR.h0 |
