summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-19 03:45:21 -0600
committerJeff Carr <[email protected]>2024-01-19 03:45:21 -0600
commitc682272f56094fc816c6b7fbee84351f5608c259 (patch)
treecf737588d966aa847a1184d98ae8a890f3bb7ac9 /structs.go
parentd4891c4d58380a81275d315151c2abc58ca1f291 (diff)
auto typist auto hides
Signed-off-by: Jeff Carr <[email protected]>
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()