summaryrefslogtreecommitdiff
path: root/node.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-19 04:25:46 -0600
committerJeff Carr <[email protected]>2025-02-19 17:39:45 -0600
commitf36f9cfd0fbbd705b1dd609f021f18ed28a3742d (patch)
treefef508e88de8a0f1d9401789e056a129c1185389 /node.go
parenta5800917e8383929e5c9dc8ad0265d6a4b4357bf (diff)
only a few node references left
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
+}