diff options
Diffstat (limited to 'andlabs/action.go')
| -rw-r--r-- | andlabs/action.go | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/andlabs/action.go b/andlabs/action.go index 35f4f7b..e0cdcff 100644 --- a/andlabs/action.go +++ b/andlabs/action.go @@ -130,12 +130,6 @@ func (n *node) move(newParent *node) { if (p.tk.uiBox != nil) { p.tk.uiBox.Append(n.tk.uiControl, stretchy) } - // log.Log(NOW, "is there a tParent parent? =", tParent.parent) - // tParent.uiBox.Delete(0) - - // this didn't work: - // tWidget.uiControl.Disable() - // sleep(.8) default: log.Log(ERROR, "TODO: need to implement move() for type =", n.WidgetType) log.Log(ERROR, "TODO: need to implement move() for where =", p.ParentId) @@ -157,7 +151,7 @@ func (n *node) Delete() { case widget.Grid: // t.uiGrid.SetPadded(true) case widget.Box: - log.Log(NOW, "tWidget.boxC =", p.Name) + log.Log(NOW, "tWidget.boxC =", p.progname) log.Log(NOW, "is there a tParent parent? =", p.parent) if (p.tk.boxC < 1) { log.Log(NOW, "Can not delete from Box. already empty. tWidget.boxC =", p.tk.boxC) @@ -177,8 +171,7 @@ func (n *node) Delete() { } func rawAction(a *widget.Action) { - log.Log(INFO, "rawAction() START a.ActionType =", a.ActionType) - log.Log(INFO, "rawAction() START a.S =", a.S) + log.Log(INFO, "rawAction() START a.ActionType =", a.ActionType, "a.Value", a.Value) if (a.ActionType == widget.InitToolkit) { // TODO: make sure to only do this once @@ -209,7 +202,7 @@ func rawAction(a *widget.Action) { } if (a.ActionType == widget.Dump) { - log.Log(NOW, "rawAction() Dump =", a.ActionType, a.WidgetType, n.Name) + log.Log(NOW, "rawAction() Dump =", a.ActionType, a.WidgetType, n.progname) me.rootNode.listChildren(true) return } @@ -238,7 +231,7 @@ func rawAction(a *widget.Action) { case widget.GetText: switch a.WidgetType { case widget.Textbox: - a.S = n.S + a.Value = n.value } case widget.Set: n.setText(a) |
