From 48a027db3a85db30cde0980b65417328a3608ca7 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 26 Jan 2024 14:22:52 -0600 Subject: [PATCH] add Enable state Signed-off-by: Jeff Carr --- state.go | 3 +++ 1 file changed, 3 insertions(+) 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