summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-02 13:03:44 -0600
committerJeff Carr <[email protected]>2025-02-02 14:52:31 -0600
commit676b3a8548debe6ed3ec2898d29df7c9acd07d62 (patch)
tree5d5bc5764b521dce945147396894583f5a914aab /common.go
parentf2a296064e6befbce4b584f24d474a8ade2c5215 (diff)
tinkering
Diffstat (limited to 'common.go')
-rw-r--r--common.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.go b/common.go
index cdc560d..3a8874a 100644
--- a/common.go
+++ b/common.go
@@ -57,13 +57,13 @@ func (n *Node) Hidden() bool {
}
/* avoid this function name as confusing
-func (n *Node) GetText() string {
+func (n *Node) GetText() string { // BAD
return widget.GetString(n.State.Value)
}
*/
/*
-func (n *Node) SetValue(a any) {
+func (n *Node) SetValue(a any) { // BAD
n.State.Value = a
}
*/