summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 68a47d1..0fef186 100644
--- a/structs.go
+++ b/structs.go
@@ -111,6 +111,9 @@ type Node struct {
// how to arrange widgets
direction widget.Orientation
+ // for widgets that have on/off things
+ checked bool
+
// this function is run when there are mouse or keyboard events
Custom func()