diff options
| author | Jeff Carr <[email protected]> | 2024-01-25 18:16:51 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-25 18:16:51 -0600 |
| commit | b88cca4b0d5f8948e682d6c70752c23ec7808d53 (patch) | |
| tree | 9eb643acc4f3a8f2e6b231a9a27e5afb0ac0db43 /window.go | |
| parent | acf5473cc5928f053b9ffe7be1e903398b76e86a (diff) | |
checkbox state works
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'window.go')
| -rw-r--r-- | window.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -77,14 +77,17 @@ func (n *Node) PixelSize(w, h int) *Node { } */ +// when a window is redrawn, every widget in the window +// needs to be sent to the toolkit func (n *Node) TestDraw() { if n == nil { return } // enable and - n.hidden = false + // n.hidden = false n.changed = true + n.visable = true log.Verbose("TestDraw() sending widget.Add", n.id, n.WidgetType, n.progname) sendAction(n, widget.Add) |
