summaryrefslogtreecommitdiff
path: root/state.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-25 18:49:22 -0600
committerJeff Carr <[email protected]>2024-01-25 18:49:22 -0600
commitf39e2e62695d52dfe5c5ae446fa0fb86f7524d97 (patch)
tree2cf5de1dab8cc8195fc3737e8c184f71dbb41926 /state.go
parent5c71621c5ae4df64f1a564e1aedd81c460961ea9 (diff)
Hidden is used by the toolkitsv1.1.7
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'state.go')
-rw-r--r--state.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/state.go b/state.go
index 9ef89e2..f285369 100644
--- a/state.go
+++ b/state.go
@@ -34,6 +34,11 @@ type State struct {
//
Visable bool
+ // this tells the toolkit to hide the widget from being displayed
+ // again, this is different than Visable. The hidden state is
+ // specifically ONLY for the gui toolkit
+ Hidden bool
+
// if false, pack things as tightly as possible
Pad bool