summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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