summaryrefslogtreecommitdiff
path: root/node.go
diff options
context:
space:
mode:
Diffstat (limited to 'node.go')
-rw-r--r--node.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/node.go b/node.go
index 42ed93e..26e2efe 100644
--- a/node.go
+++ b/node.go
@@ -57,3 +57,7 @@ func (tk *guiWidget) GridW() int {
func (tk *guiWidget) GridH() int {
return tk.node.State.AtH
}
+
+func (tk *guiWidget) SetChecked(b bool) {
+ tk.node.State.Checked = b
+}