summaryrefslogtreecommitdiff
path: root/redo/zz_test.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-29 13:48:31 -0400
committerPietro Gagliardi <[email protected]>2014-07-29 13:48:31 -0400
commitf4bb7360d4060d9c62c30d6b5508683a4fb6c472 (patch)
treed25ce5d5195a6ffcc01def1b4ae8015b7c9ce723 /redo/zz_test.go
parent8d7f0c9a62b9108e262380ae62f8c8b9cbb12bfc (diff)
Added Label and implemented it on all platforms.
Diffstat (limited to 'redo/zz_test.go')
-rw-r--r--redo/zz_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/redo/zz_test.go b/redo/zz_test.go
index f6791a0..d20eabf 100644
--- a/redo/zz_test.go
+++ b/redo/zz_test.go
@@ -28,6 +28,7 @@ var ddata = []dtype{
type testwin struct {
t Tab
w Window
+ l Label
table Table
b Button
c Checkbox
@@ -47,6 +48,8 @@ func (tw *testwin) make(done chan struct{}) {
done <- struct{}{}
return true
})
+ tw.l = NewStandaloneLabel("hello")
+ tw.t.Append("Label", tw.l)
tw.table = NewTable(reflect.TypeOf(ddata[0]))
tw.table.Lock()
dq := tw.table.Data().(*[]dtype)