From a894c3fc6d9c49106f9e331404602b5be4f6ad1e Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 28 Jun 2014 02:16:52 -0400 Subject: [PATCH] Documented the new Window.Closing behavior. --- window.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {