diff options
| -rw-r--r-- | common.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -67,6 +67,10 @@ func (n *Node) Hidden() bool { return n.State.Hidden } +func (n *Node) IsEnabled() bool { + return n.State.Enable +} + /* avoid this function name as confusing func (n *Node) GetText() string { // BAD return widget.GetString(n.State.Value) |
