From 88646445b02da6be218e7059b6c0ef72ab3cf98c Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 14 Feb 2014 16:25:39 -0500 Subject: Added Listboxes. You can't use the results just yet... --- main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 2cdff5b..f847a8b 100644 --- a/main.go +++ b/main.go @@ -14,7 +14,9 @@ func main() { cb2 := NewCombobox(false, "You can't edit me!", "No you can't!", "No you won't!") e := NewLineEdit("Enter text here too") l := NewLabel("This is a label") - s := NewStack(Vertical, b, c, cb1, cb2, e, l) + s0 := NewStack(Vertical, b, c, cb1, cb2, e, l) + lb := NewListbox(true, "Select One", "Or More", "To Continue") + s := NewStack(Horizontal, lb, s0) err := w.Open(s) if err != nil { panic(err) -- cgit v1.2.3