summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-13 12:26:43 -0500
committerPietro Gagliardi <[email protected]>2014-02-13 12:26:43 -0500
commitf3c77bda6e720fe7750fc3db2aa38f8b74faf585 (patch)
tree39179c1299e4a28717645776c208ccf1c28c4005 /main.go
parentc36c863fe11d08b915aa51de96313d5d5049fd97 (diff)
Added checkboxes. You can't really do anything with them yet, though...
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 8 insertions, 0 deletions
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 {