summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-04-10 11:59:40 -0400
committerPietro Gagliardi <[email protected]>2014-04-10 11:59:40 -0400
commit9e185d815eec14ea9f50ffbbbf171cf78e597808 (patch)
treeb91a9d5916928516d4e11bf4ea4c32846a93b9d3 /window.go
parent0a54daa7b1a3b433cce594bdac16659a06445c74 (diff)
Documented that event channels can be assigned to each other to collapse events.
Diffstat (limited to 'window.go')
-rw-r--r--window.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/window.go b/window.go
index c4ab16c..b182f7c 100644
--- a/window.go
+++ b/window.go
@@ -11,6 +11,7 @@ import (
type Window struct {
// Closing gets a message when the user clicks the window's close button.
// You cannot change it once the Window has been opened.
+ // If you do not respond to this signal, nothing will happen; regardless of whether you handle the signal or not, the window will not be closed.
Closing chan struct{}
lock sync.Mutex