add Checked to the state

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-19 03:45:56 -06:00
parent 0f9d06eb2f
commit 10f7fe14ce
2 changed files with 4 additions and 0 deletions

View File

@ -54,6 +54,7 @@ const (
GetText
SetText
AddText
Checked
Show
Hide
Enable

View File

@ -20,6 +20,9 @@ type State struct {
// how to arrange widgets
Direction Orientation
// for widgets that have on/off things
Checked bool
//
// This is complicated. We must send a list of all the widgets
// in the binary tree to the toolkits because some toolkits