summaryrefslogtreecommitdiff
path: root/state.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-19 03:45:56 -0600
committerJeff Carr <[email protected]>2024-01-19 03:45:56 -0600
commit10f7fe14ced1720198993cce671aa7370c16e5ab (patch)
tree69b9feb19ede9c45d149b44f6528f2b4fc83faf4 /state.go
parent0f9d06eb2fb95c51ae9e7115ee8632432a3aa949 (diff)
add Checked to the state
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'state.go')
-rw-r--r--state.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/state.go b/state.go
index bb460b4..ca0a2af 100644
--- a/state.go
+++ b/state.go
@@ -20,6 +20,9 @@ type State struct {
// how to arrange widgets
Direction Orientation
+ // for widgets that have on/off things
+ Checked bool
+
//
// This is complicated. We must send a list of all the widgets
// in the binary tree to the toolkits because some toolkits