summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
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
}
*/