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 GetText
SetText SetText
AddText AddText
Checked
Show Show
Hide Hide
Enable Enable

View File

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