diff options
| author | Jeff Carr <[email protected]> | 2024-01-11 19:10:24 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-11 19:10:24 -0600 |
| commit | 3b258d0ce0e20ffedf8804409a16abbe84f1d383 (patch) | |
| tree | 0273746324f274f5c95e96a32b06911f4dd40e05 /nocui/action.go | |
| parent | c4582b0b30e3020a92baf299572d8617872d45e5 (diff) | |
var value any
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'nocui/action.go')
| -rw-r--r-- | nocui/action.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nocui/action.go b/nocui/action.go index babfa6f..892bd54 100644 --- a/nocui/action.go +++ b/nocui/action.go @@ -70,7 +70,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) // this didn't work: // tWidget.uiControl.Disable() @@ -84,7 +84,7 @@ func (n *node) Delete() { func doAction(a *widget.Action) { log.Log(INFO, "doAction() START a.ActionType =", a.ActionType) - log.Log(INFO, "doAction() START a.S =", a.S) + log.Log(INFO, "doAction() START a.ProgName =", a.ProgName) if (a.ActionType == widget.InitToolkit) { // TODO: make sure to only do this once @@ -125,7 +125,7 @@ func doAction(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.S) |
