summaryrefslogtreecommitdiff
path: root/redo/zz_test.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-15 20:48:16 -0400
committerPietro Gagliardi <[email protected]>2014-07-15 20:48:16 -0400
commit5ebd89984ac63c30a68a325a430038979badc3a0 (patch)
tree7493574d046fb9a048edf610e6d60fafae58e8df /redo/zz_test.go
parent474436e9f6e84f26edd08bfcff16d62a3cd40175 (diff)
Added parenting/unparenting of controls to the GTK+ backend and the test program.
Diffstat (limited to 'redo/zz_test.go')
-rw-r--r--redo/zz_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/redo/zz_test.go b/redo/zz_test.go
index f022ab4..fb17ef7 100644
--- a/redo/zz_test.go
+++ b/redo/zz_test.go
@@ -12,6 +12,8 @@ import (
func init() {
go func() {
w := GetNewWindow(Do, "Hello", 320, 240)
+ b := GetNewButton(Do, "There")
+ Wait(Do, w.SetControl(b))
done := make(chan struct{})
Wait(Do, w.OnClosing(func(c Doer) bool {
Stop()