diff options
| author | Jeff Carr <[email protected]> | 2024-01-11 17:19:47 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-11 17:19:47 -0600 |
| commit | c4582b0b30e3020a92baf299572d8617872d45e5 (patch) | |
| tree | c678b4f165bf4db0d9975df4b360925e8e9930ca /andlabs/addText.go | |
| parent | 4bf330767195a00de7fc0538228bcf0305143434 (diff) | |
type value any
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'andlabs/addText.go')
| -rw-r--r-- | andlabs/addText.go | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/andlabs/addText.go b/andlabs/addText.go index 291dca3..74249a4 100644 --- a/andlabs/addText.go +++ b/andlabs/addText.go @@ -6,22 +6,21 @@ import ( ) func (n *node) addText(a *widget.Action) { - log.Log(CHANGE, "addText() START with a.S =", a.S) + log.Log(CHANGE, "addText() START with a.Value =", a.Value) t := n.tk if (t == nil) { - log.Log(ERROR, "addText error. tk == nil", n.Name, n.WidgetId) - actionDump(debugError, a) + log.Log(ERROR, "addText error. tk == nil", n.progname, n.WidgetId) return } - log.Log(CHANGE, "addText() Attempt on", n.WidgetType, "with", a.S) + log.Log(CHANGE, "addText() Attempt on", n.WidgetType, "with", a.Value) switch n.WidgetType { case widget.Dropdown: - n.AddDropdownName(a.S) + n.AddDropdownName(getString(a.Value)) case widget.Combobox: - t.AddComboboxName(a.S) + t.AddComboboxName(getString(a.Value)) default: log.Log(ERROR, "plugin Send() Don't know how to addText on", n.WidgetType, "yet", a.ActionType) } - log.Log(CHANGE, "addText() END with a.S =", a.S) + log.Log(CHANGE, "addText() END with a.Value =", a.Value) } |
