From f3c77bda6e720fe7750fc3db2aa38f8b74faf585 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 13 Feb 2014 12:26:43 -0500 Subject: Added checkboxes. You can't really do anything with them yet, though... --- main.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'main.go') diff --git a/main.go b/main.go index 411eb36..c6f0dda 100644 --- a/main.go +++ b/main.go @@ -9,6 +9,14 @@ func main() { if err != nil { panic(err) } + + w2 := NewWindow("Checkbox Window", 200, 100) + c := NewCheckbox("Check Me") + err = w2.Open(c) + if err != nil { + panic(err) + } + mainloop: for { select { -- cgit v1.2.3