summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
Diffstat (limited to 'window.go')
-rw-r--r--window.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/window.go b/window.go
index f158206..d1ff8b7 100644
--- a/window.go
+++ b/window.go
@@ -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)