diff --git a/redo/window.go b/redo/window.go index 346379e..315ac41 100644 --- a/redo/window.go +++ b/redo/window.go @@ -20,7 +20,8 @@ type Window interface { // Close creates a Request to close the Window. // Any Controls within the Window are destroyed, and the Window itself is also destroyed. // Attempting to use a Window after it has been closed results in undefined behavior. - // TODO does this raise OnClosing or bypass it? + // Close unconditionally closes the Window; it neither raises OnClosing nor checks for a return from OnClosing. + // TODO make sure the above happens on GTK+ and Mac OS X; it does on Windows Close() *Request // OnClosing creates a Request to register an event handler that is triggered when the user clicks the Window's close button.