summaryrefslogtreecommitdiff
path: root/zz_test.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-12-12 16:59:57 -0500
committerPietro Gagliardi <[email protected]>2015-12-12 16:59:57 -0500
commit7b5f1e13c36248fc91de07d409318bce887f3b94 (patch)
tree433ecf4172a13723ec41cf0252e5abf41ef997e5 /zz_test.go
parent302bd0313c55d32929bc6013929257ca388228d6 (diff)
Added Label.
Diffstat (limited to 'zz_test.go')
-rw-r--r--zz_test.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/zz_test.go b/zz_test.go
index d35ba1a..0b24300 100644
--- a/zz_test.go
+++ b/zz_test.go
@@ -11,11 +11,8 @@ func TestIt(t *testing.T) {
Quit()
return true
})
- e := NewEntry()
- e.OnChanged(func(*Entry) {
- w.SetTitle(e.Text())
- })
- w.SetChild(e)
+ l := NewLabel("A Label")
+ w.SetChild(l)
w.Show()
})
if err != nil {