add Checked to the state
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
0f9d06eb2f
commit
10f7fe14ce
|
@ -54,6 +54,7 @@ const (
|
||||||
GetText
|
GetText
|
||||||
SetText
|
SetText
|
||||||
AddText
|
AddText
|
||||||
|
Checked
|
||||||
Show
|
Show
|
||||||
Hide
|
Hide
|
||||||
Enable
|
Enable
|
||||||
|
|
3
state.go
3
state.go
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue