summaryrefslogtreecommitdiff
path: root/basicEntry.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-24 02:27:52 -0600
committerJeff Carr <[email protected]>2024-01-24 02:27:52 -0600
commit30983eff9d9a9d35fa4f8b7e5d3279652f9a6574 (patch)
tree51d2f28256a5c5b3b3ee35f058cc9a533ac9e6a4 /basicEntry.go
parent7254203e4e846dabf2d586581acd286124fc7b31 (diff)
still working on names
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'basicEntry.go')
-rw-r--r--basicEntry.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/basicEntry.go b/basicEntry.go
index 1bf47ad..040a9cb 100644
--- a/basicEntry.go
+++ b/basicEntry.go
@@ -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()
}