add Enable state

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-26 14:22:52 -06:00
parent f39e2e6269
commit 48a027db3a
1 changed files with 3 additions and 0 deletions

View File

@ -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