diff options
Diffstat (limited to 'checkbox.go')
| -rw-r--r-- | checkbox.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/checkbox.go b/checkbox.go index 17cceae..8ba4f8d 100644 --- a/checkbox.go +++ b/checkbox.go @@ -5,6 +5,11 @@ import ( "go.wit.com/widget" ) +func (n *Node) IsChecked() bool { + return n.checked +} + +// deprecate this name func (n *Node) Checked() bool { return n.checked } |
