Verified that Window.Close() works as documented on GTK+.

This commit is contained in:
Pietro Gagliardi 2014-07-19 23:36:11 -04:00
parent fa5b2012d0
commit 5fa0950112
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ type Window interface {
// 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.
// 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
// TODO make sure the above happens on Mac OS X; it does on Windows and GTK+
Close()
// OnClosing registers an event handler that is triggered when the user clicks the Window's close button.