summaryrefslogtreecommitdiff
path: root/tree/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-17 23:39:03 -0600
committerJeff Carr <[email protected]>2024-01-17 23:39:03 -0600
commita0baba0821441d9cf38f0b33fe12fb96925c6236 (patch)
tree2aece2a890c66c36b08524e117753817078ee58c /tree/common.go
parentbee272651ad38453aef27f098513f7be652c39bf (diff)
new paths
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'tree/common.go')
-rw-r--r--tree/common.go35
1 files changed, 0 insertions, 35 deletions
diff --git a/tree/common.go b/tree/common.go
deleted file mode 100644
index 24992de..0000000
--- a/tree/common.go
+++ /dev/null
@@ -1,35 +0,0 @@
-package tree
-
-import (
- "go.wit.com/gui/widget"
-)
-
-func (n *Node) GetProgName() string {
- return n.State.ProgName
-}
-
-func (n *Node) GetValue() any {
- return n.State.Value
-}
-
-func (n *Node) Bool() bool {
- return widget.GetBool(n.State.Value)
-}
-
-func (n *Node) String() string {
- return widget.GetString(n.State.Value)
-}
-
-/* avoid this function name as confusing
-func (n *Node) GetText() string {
- return widget.GetString(n.State.Value)
-}
-*/
-
-func (n *Node) SetValue(a any) {
- n.State.Value = a
-}
-
-func (n *Node) GetLabel() string {
- return n.State.Label
-}