still working on names

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-24 02:27:52 -06:00
parent 7254203e4e
commit 30983eff9d
1 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,9 @@ type BasicEntry struct {
func (n *BasicEntry) SetText(s string) *BasicEntry {
log.Log(GADGETS, "BasicEntry.Set() =", s)
n.v.SetValue(s)
n.v.SetText(s)
n.v.SetLabel(s)
return n
}
@ -39,7 +41,7 @@ func (n *BasicEntry) Disable() {
}
func (n *BasicEntry) String() string {
log.Log(GADGETS, "BasicEntry.SetLabel() =", n.v.String())
log.Log(GADGETS, "BasicEntry.String() =", n.v.String())
return n.v.String()
}