summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-19 05:54:55 -0600
committerJeff Carr <[email protected]>2024-01-19 05:54:55 -0600
commitf7bb1084ca117315fc293d077a8e4e24ccfe7cd8 (patch)
treef69a69fc5d63b0f5de7535fc79794c0e4341c953 /structs.go
parentc682272f56094fc816c6b7fbee84351f5608c259 (diff)
builds and remembers Visable
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/structs.go b/structs.go
index 0fef186..986aa5e 100644
--- a/structs.go
+++ b/structs.go
@@ -114,6 +114,13 @@ type Node struct {
// for widgets that have on/off things
checked bool
+ // tells the toolkits if the user should currently see it
+ // state updates are only sent to the toolkits for visable widgets
+ visable bool
+
+ // borderless windows
+ borderless bool
+
// this function is run when there are mouse or keyboard events
Custom func()