struct Espresso::WindowFocusEvent

Overview

Event triggered when the window gains or loses focus.

Included Modules

Defined in:

espresso/window_focus_event.cr

Instance Method Summary

Instance methods inherited from struct Espresso::WindowEvent

window : Window window

Instance Method Detail

def focused? : Bool #

Indicates whether the window has gained or lost focus.


[View source]