Verified that Window.Close() works as documented on GTK+.
This commit is contained in:
parent
fa5b2012d0
commit
5fa0950112
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue