summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-26 14:22:52 -0600
committerJeff Carr <[email protected]>2024-01-26 14:22:52 -0600
commit48a027db3a85db30cde0980b65417328a3608ca7 (patch)
treeaa4286830a81ed3ae8f6001fc650ddadea474d08
parentf39e2e62695d52dfe5c5ae446fa0fb86f7524d97 (diff)
add Enable statev1.1.8
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--state.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/state.go b/state.go
index f285369..788b493 100644
--- a/state.go
+++ b/state.go
@@ -39,6 +39,9 @@ type State struct {
// specifically ONLY for the gui toolkit
Hidden bool
+ // is the widget usable by the user?
+ Enable bool
+
// if false, pack things as tightly as possible
Pad bool