summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
Diffstat (limited to 'common.go')
-rw-r--r--common.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.go b/common.go
index 274877f..70a5d14 100644
--- a/common.go
+++ b/common.go
@@ -19,6 +19,10 @@ func (n *Node) Bool() bool {
return false // widget.GetBool(n.State.Value)
}
+func (n *Node) CurrentS() string {
+ return n.State.CurrentS
+}
+
func (n *Node) String() string {
switch n.WidgetType {
case widget.Button: