summaryrefslogtreecommitdiff
path: root/test/main.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-07 15:01:42 -0500
committerPietro Gagliardi <[email protected]>2014-03-07 15:01:42 -0500
commit20dcc48bee158edbeb5b7ba5893f613bfbf11889 (patch)
tree70b0adb6a82a44c5d4c4cad4eceb9ba403ccf83a /test/main.go
parent874a4b9271c37ec72a6292fa4a045760a43f2b7d (diff)
Changed Combobox.Append() and Listbox.Append() to accept multiple strings in one call.
Diffstat (limited to 'test/main.go')
-rw-r--r--test/main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/main.go b/test/main.go
index af886c6..31fa243 100644
--- a/test/main.go
+++ b/test/main.go
@@ -69,6 +69,8 @@ func myMain() {
i++
}
doAdjustments()
+ cb1.Append("append multi 1", "append multi 2")
+ lb2.Append("append multi 1", "append multi 2")
s1 := NewVerticalStack(lb2, lb1)
s1.SetStretchy(0)
s1.SetStretchy(1)
@@ -126,6 +128,8 @@ mainloop:
prog = 100
}
pbar.SetProgress(prog)
+ cb1.Append("append multi 1", "append multi 2")
+ lb2.Append("append multi 1", "append multi 2")
case <-decButton.Clicked:
prog--
if prog < 0 {