summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.go b/main.go
index 09fae17..273a13a 100644
--- a/main.go
+++ b/main.go
@@ -16,7 +16,10 @@ mainloop:
case <-w.Closing:
break mainloop
case <-b.Clicked:
- println("clicked")
+ err := w.SetTitle("Button Clicked")
+ if err != nil {
+ panic(err)
+ }
}
}
w.Close()