struct Espresso::WindowClosingEvent

Overview

Event triggered when the user indicates they want to close the window. This event does not mean the window is closed or that it should be. To cancel the close attempt, call #cancel.

Defined in:

espresso/events/window_closing_event.cr

Instance Method Summary

Instance methods inherited from struct Espresso::WindowEvent

window : Window window

Instance Method Detail

def cancel #

Cancels the close attempt. Marks the window as not closing.


[View source]