summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-28 02:16:52 -0400
committerPietro Gagliardi <[email protected]>2014-06-28 02:16:52 -0400
commita894c3fc6d9c49106f9e331404602b5be4f6ad1e (patch)
treef7776f0bff71b676614a83a46e1d89a765fe3f4b
parentc8ae74cf2677195106dcd526c8b745a995be9075 (diff)
Documented the new Window.Closing behavior.
-rw-r--r--window.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.go b/window.go
index 63f03b8..9b58937 100644
--- a/window.go
+++ b/window.go
@@ -24,7 +24,7 @@ type Window struct {
//
// Each Event() call takes two parameters: the event ID and a data argument. For most events, the data argument is a pointer to the Control that triggered the event.
//
-// For Closing, the data argument is [TODO].
+// For Closing, the data argument is a pointer to a bool variable. If, after returning from Event, the value of this variable is true, the Window is closed; if false, the Window is not closed. The default value on entry to the function is [TODO].
//
// For any event >= CustomEvent, the data argument is the argument passed to the Window's SendEvent() method.
type WindowHandler interface {