diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-12 18:14:37 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-12 18:14:37 -0500 |
| commit | a9ff38894408e0a34da4742fc2b1aea0bb5ef60b (patch) | |
| tree | 2c4e58eb079cdd59537216943fc97fdd4fbd7a2d /main.go | |
| parent | 0a9f40812950ad00239e93141a37183666d5f3eb (diff) | |
Added Window.SetTitle(). Also oops, forgot to mark the window as created.
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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() |
